05-12-2010 12:48 AM
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.
05-12-2010 01:55 AM
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
05-12-2010 02:36 AM
05-12-2010 04:34 AM
@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.
05-12-2010 05:15 AM
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
05-12-2010 11:39 PM
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.
05-13-2010 02:58 PM
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