Thanks for the Port number, I got it to work now.
I will summarise what was necessary to establish a connetion in case other people are interested:
If you need a bidirectional communication between computer A (IP:192.168.0.1)
and B (IP: 192.168.0.2) the following steps may be necessary:
- Run DataSocket Server on *both* computers before you start LabView
For communication A to B:
- Select a variable on computer A, and enter the following in the connect to field:
"dstp://192.168.0.1/var1", click on "publish"
- Create a variable of the same type on machine B and enter in the connect to field:
"dstp://192.168.0.1/var1", click on "subscribe"
For communication from B to A do the following:
- Select a variable on computer B, and enter the following in the connect to field:
"dstp://192.168.0.2/var2", click on "publish"
- Create a variable of the same type on machine A and enter in the connect to field:
"dstp://192.168.0.2/var2", click on "subscribe"
Maybe this is not the most elegant way because I don't know how to use the "Publish and subscribe" field
but at least it works this way.
Michael