Hi all,
I am having a problem associated with Data Socket. This is my situation: I have two PCs, PC-A and PC-B, which PC-A has equipment connect to and PC-B is just a stanard PC. My task is to control PC-A and its equipment over the Internet via Data Socket from PC-B.
I have Data Socket connections of controls and indicators for two VIs where I can read current values of equipment from PC-A at PC-B, and control equipment connected to PC-A at PC-B. But here is the problem.
I need to start VI of PC-A, then start VI of PC-B. This establishes the communication from PC-A to PC-B: values updated on PC-B when values change on PC-A.
While VI of PC-B is running, I need to STOP VI of PC-A and STARTS AGAIN. This establishes the commun
ication from PC-B to PC-A, such that values on PC-A would be updated when I change values on PC-B.
I just want to know, have I done something wrong? According to LabVIEW Help "Controlling a Fron Panel Control Remotely" states: "The front panel control in the first VI retrieves the value the second VI passed through the DataSocket connection. When a user changes the control value in the second VI, the DataSocket connection publishes the new value to the front panel control in the first VI. You cannot manipulate the front panel control in the first VI while both VIs are running." Can somehow justisfy that?
Thank you for your kind attention. Pls advise if you need more information from me.
Steve