LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview program online

I have created a html for a labview program using the webpublishing tool.
How do i put this html page online such that i can see results in my labview program online?
Do i have to set up a server? How do i do so?
0 Kudos
Message 1 of 9
(3,950 Views)
Hi this Link explains how to publish VI's on the Web.
 
Hope this helps
 
Regards
 
Dev
 
0 Kudos
Message 2 of 9
(3,926 Views)
Hmmm. thanks for the reply.. But I would like to be able to change values from the website online, meaning i would want to be able to control my program from the www..
0 Kudos
Message 3 of 9
(3,909 Views)
Granting control to a VI is dependent on how you setup the LabVIEW web server. This is a server that ships with LabVIEW. Have you read the on-line help? Look up the topic Publishing>VIs on the web.
0 Kudos
Message 4 of 9
(3,899 Views)

Thanks for ur reply

U are refering to this page right?
https://www.ni.com/docs/en-US/bundle/labview/page/publishing-vis-and-stand-alone-applications-on-the...


Ya.. i read it already.. I manage to create a html page and control my VI using the html page. But I want this page to be accessible on the www instead of just local.. I send the link to my friend and he couldn't open it. Thats why i'm asking whether i need to set up a server  or can i just use the NI server some how
0 Kudos
Message 5 of 9
(3,883 Views)
A few things could be causing problems.

First, if you can access the application through a web browser on your internal network, but not from your friend on an external network, it's likely your network is blocking his access into your network. You might not be able to work around this depending on how you network is setup. If you control your network (maybe it's your home network), you should be able configure it so your friend can get to your application. If this is a network at work or a school, you're probably out of luck unless you can convince the IT department that your friend needs access to the internal network. Another option would be to have them host the applicaiton on a server so he could get to it.

Can you give a few more details on how your network is setup?

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 6 of 9
(3,872 Views)
Thanks for ur reply
 
The network is my home network. I'm not sure how to configure it. I'm on an adsl connection and i use a router. I dunno what other info u may need.. Actually, i'm more interested in setting up a server such that not only my friend can access it but all the other pple too
0 Kudos
Message 7 of 9
(3,863 Views)
Hi, kel82.

If you want to be able to display pages on the internet, you'll need to run a web server. Recent versions of LabVIEW contain a web server, and you can configure it from Tools>>Options>>Web Server:Configuration. Additionally, if you're behind a router, you'll need to set up port forwarding to allow people from the internet to get to your computer. However, this is a detailed process and is really outside the scope of National Instruments products. (Kind of like calling up Mazda and asking them how to get to the mall in your town.)

That said, a quick Google search yielded the following results that you might find helpful:

Web server basics
Basics of Forwarding Ports
Port Forwarding and DMZ Basics

Also, many ISPs prohibit web servers for their customers, so you may want to check to make sure this won't violate your terms of service agreement. Also, running any internet-accessible web server opens up several potential network security issues, so I recommend taking caution and researching this process thoroughly. Hope this helps!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 8 of 9
(3,844 Views)
Have you made any progress with this?

Sarah mentioned an important point about most ISPs won't let you run a web server from home. Did you check on this?

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 9 of 9
(3,808 Views)