LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing live data over the internet

Hi,

I want to share live data of my experiment over the internet. I am using LabVIEW 8.0.1. I tried the Web Publishing Tool, which helps me to control my VI over LAN, but when I try to open the web page from outside my office internet network, the message "connection timed out" appears. The same goes for TCP/IP, when I try to connect from PC running a different internet network, ERROR 56 occurs. Ditto for datasocket server. 

Please help somebody. 

0 Kudos
Message 1 of 7
(3,192 Views)

Hi ishank,

do you mean LabVIEW "error 56"? I thought you want to connect through a webbrowser to your VI. Are you behind a router? If yes, then you have to forward port to your pc, where the webapp is running.

 

Mike

0 Kudos
Message 2 of 7
(3,183 Views)
0 Kudos
Message 3 of 7
(3,173 Views)

@muks: I tried your solution but it is showing the same error. Can you suggest something else. I am running VIs from labview examples, "Data Server" on 1 PC and "Data Client" on the other, and all I get is "Error 56:Connection has exceeded user specified time limit".

@Mike: Yes, I was talking about labview error 56. I didn't understand your solution, can you please elaborate.

 

Thanks for replying. 

0 Kudos
Message 4 of 7
(3,156 Views)

Hi ishank,

i'm not sure if i understand what you try. I thought you would see your vi over the webbrowser, but if this is the case, then i don't understand the error message. Can you show your vi and explain how you try to call it from outside? How do you call it from inside your network?

 

Mike

0 Kudos
Message 5 of 7
(3,149 Views)

Hey Mike,

First,  I used web publishing tool to embedd a VI in browser, then I tried communicating through TCP/IP by running Data Server.vi on 1 PC and Data Client.vi on the other. After that I tried communicating through datasocket server by running DSwriter.vi on 1 PC and DSreader.vi on the other. When I do this at my workplace with two PCs running labview, it works fine, but when I tried with two PCs having different internet connections, opening a web browser showed "Connection timed out", running the other VIs showed "Error 56". I've even tried disabling the firewall and let one PC work as a server, but it didn't help.

0 Kudos
Message 6 of 7
(3,124 Views)

Hi ishank,

now i understand that you tried two different ways.

 

To which computer IP do you try to connect if you are outside your network? You should use the IP from the PC/Router which is connected to the internet and forward one port to your pc where one of your applications is running.

 

Mike

0 Kudos
Message 7 of 7
(3,099 Views)