LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read published data from a datasocket server running in a different network?

 

Hi all,

 

 

 

I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.

 

I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.

 

 Is it possible to do what I am trying to do or is there a simpler way to solve this problem?

 

I will really appreciate any help towards a solution to this problem.

 

Thanks

 

 

 

 

 

 

 

 

Download All
0 Kudos
Message 1 of 2
(2,443 Views)

Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

 

0 Kudos
Message 2 of 2
(2,430 Views)