Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I connect between multiple computers using DataSocket?

Specifically what do I put into the DS Server given two different machines? Then what do I specify when executing ConnectTo with the ActiveX control? I want to have one master machine and N slave machines that talk back and forth. The slaves do not need to communicate with each other. It would be probably sufficient just to know how to do this using the NI example DSTransceiver.vbp.
0 Kudos
Message 1 of 2
(4,075 Views)
Hello

So what you have is the datasocket server running on the master machine, and set the security permissions so that the slaves will be able to write and read to/from the server. With that setup, you can have the slave machines connect to it using the following string
dstp:///

You can see this string if you check out the datasocket examples installed with Measurement Studio.

Check out the following links for more information

Configuring a DataSocket Server
http://zone.ni.com/devzone/conceptd.nsf/webmain/64B2F502E4C10D07862568F20078904E?opendocument

DataSocket Transfer Protocol (dstp) Overview
http://zone.ni.com/devzone/conceptd.nsf/webmain/9149C3CA1B23B6C3862569920055F425?opendocument

I hope this
helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(4,075 Views)