LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing a VI in the Internet

Solved!
Go to solution

Hi all

 

First of all, sorry if my English is not correct

 

I want to publish a VI in Internet, to view it in any PC, PDA, mobile phone, etc. I did it, but it can only be viewed in a local area conection. I've changed all the LabVIEW WebServer options, and created a WebServer (RESTful) in my project, but it doesn't work.

 

Any solution to my problem?

Thank you!

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

Do you mean: the .vi file is not even visible outside your lan?

Or do you get some runtime error while executing from outside?

Is it a .vi, or a compiled .exe, or what?

Please add some details!

0 Kudos
Message 2 of 7
(3,789 Views)
If it works within your local network but not outside of it, then you need to talk to your network administrator.  Most likely there's a firewall blocking incoming connections.
0 Kudos
Message 3 of 7
(3,781 Views)

But when I use the Web Publishing Tool, the URL provided by LabVIEW is a local direction instead of an IP address. I don't know how can I obtain this IP address.

 

LabVIEW gives me this address:

 

http://Pedro-PC/SCADA_pdb.lvproj_My%20Computer_Panel.html

 

and I need to change Pedro-PC (local address) to an IP address

0 Kudos
Message 4 of 7
(3,772 Views)
Solution
Accepted by topic author pedriker
You can find your computer's IP address by opening a command prompt and running "ipconfig."  However, it's quite possible that your IP address is assigned dynamically and changes regularly.  Your address also may not be globally accessible if it is routed through NAT (network address translation).  You need to talk to your network administator if you want this to work reliably.
Message Edited by nathand on 01-07-2010 09:40 AM
Message 5 of 7
(3,768 Views)

Correct.

Maybe in your LAN there is a server that can be accessed from outside: you'll probably prefer to save your VI there (and change the name of your PC with the name/IP address of the server).

Otherwise, you may save your VI on an external hosting server.

Message Edited by xdaf on 01-07-2010 04:08 PM
Message 6 of 7
(3,755 Views)

ok

I'll try your solution

I hope it works!!

 

thanks for the solution

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