Andreschrosa Posted February 27, 2009 Share Posted February 27, 2009 Is there any way to create a remote connection via sequence, or least change a connection's Address with a sequence? Link to comment Share on other sites More sharing options...
AzeoTech Posted February 27, 2009 Share Posted February 27, 2009 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 More sharing options...
Andreschrosa Posted March 2, 2009 Author Share Posted March 2, 2009 I meant a connection on the connections tab, a connection to another computer running DAQFactory. Link to comment Share on other sites More sharing options...
AzeoTech Posted March 3, 2009 Share Posted March 3, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.