Connection to remote DAQFactory


Recommended Posts

Yes. You can change the address, port, etc from a sequence by doing something like:

Device.MyDevice.Address = "192.168.0.1"

There are other variables too which you'll see as you type. You have to do Device.MyDevice.InitComm() after changing the variables to reinitialize the port with the new settings. To disable the port, set the address to "" and then do InitComm()

Link to comment
Share on other sites

Ah, right. Well now you know how to do it with an ethernet port :)

Anyhow, the commands for manipulating connections in sequences all start with:

system.connection.

There are four:

system.connection.Add()

system.connection.Default()

system.connection.Delete()

system.connection.Reset()

They are described in detail in the user's guide under Networking / Connectivity -> Connecting to a remote copy of DAQFactory. Its towards the end of that section.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.