Search found 137 matches

by AMitchneck
Tue Dec 12, 2017 7:46 am
Forum: Application Development
Topic: ListBox object
Replies: 2
Views: 5416

Re: ListBox object

It sounds like what you really want to use is a textbox not a listbox. A listbox is designed to give a list of items for a user to select. From playing with it a little, it seems the configure texts is used to create the list of items and set a tag to the value associated with the selected index. If...
by AMitchneck
Tue Nov 28, 2017 4:58 pm
Forum: Controller Communication
Topic: Danfoss FC51 Modbuss RTU
Replies: 2
Views: 6073

Re: Danfoss FC51 Modbuss RTU

The coil table is on page 74. This page lists the available coils (10000) you can read. Note, based on your image, you set the RTU master to start with 0-based addressing, so coil 01 (Table 8.14) is addressed with 10000, coil 02 is addressed with 10001, and so on. The registers are listed on page 75...
by AMitchneck
Tue Nov 14, 2017 7:38 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

Curious. I've never tried getting the IP address of a panel, but I have used C# to get a computer's IP address using similar method as here https://stackoverflow.com/questions/6803073/get-local-ip-address . It was a while ago, but, if I remember correctly, this method returned only "active" IP addre...
by AMitchneck
Fri Nov 10, 2017 8:47 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

Forgot to mention - the hourglass I'm referring to for entering the service menu is the hourglass that appears right after you power the panel. So, to enter the service menu you will need to power cycle the panel.
by AMitchneck
Fri Nov 10, 2017 8:44 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

Depending on the specific panel and port I have seen the default set to dynamic or 192.168.0.1. My guess if you are getting the loop back IP is it is set to dynamic. You can determine this from the IP shown on the bottom left of the screen while panel is loading project. You can change the IP from t...
by AMitchneck
Tue Nov 07, 2017 11:02 am
Forum: Application Development
Topic: VisualStudio 2017 Objects
Replies: 3
Views: 6449

Re: VisualStudio 2017 Objects

I don't know if this will help, but I made a dll for a T7A panel a few years ago. To do this I needed to install visual studio 2008 which supported .NET 3.5 CF. I just configured the project's framework to 3.5 and set the target to Windows CE and it compiled and ran on the panel without issue.
by AMitchneck
Thu Nov 02, 2017 7:37 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

Is the IP set static or dynamic?
127.0.0.1 is a loop back IP address. My guess is this is the IP you get when no IP address is assigned because the port is set to dynamic and no DHCP server is connected.
by AMitchneck
Wed Nov 01, 2017 6:52 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

Under the Sample Programs > Panel/Hardware Management board there is a topic "Display All IP Addresses" to get the panel IP addresses. Maybe this would help.
by AMitchneck
Mon Sep 25, 2017 9:56 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25758

Re: Getting IP address from system

static makes the function usable without instantiating a class instance. For example, say we had the following class public class Foo { public int Loc() { ... } public static int Stat() { ... } } to call Stat(), all you need is Foo.Stat(); while to call Foo() you need (new Foo()).Loc(); as Loc()is a...
by AMitchneck
Mon Sep 25, 2017 9:48 am
Forum: Application Development
Topic: What is the difference between Enabled and Read Only?
Replies: 1
Views: 6016

Re: What is the difference between Enabled and Read Only?

Enabled enables/disables the user to interact with the control while ReadOnly enables/disables the user from editing the contents of the control. In terms of the user changing the text/contents, setting either to false will disable the user from making any edits. On the other hand, setting Enable to...