LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Page

I would like to see a front panel over the internet.
I found all the articles about the web server, but does this work with a web page located on a commercial web host server?
 
For this to work I would need to somehow ftp updated images on a regular basis.
 
Any ideas?
0 Kudos
Message 1 of 6
(3,367 Views)

This should work as long as you have the application or VI you want to view running on the server.  The LabVIEW Run-Time engine must also be installed on the computer you are using to access the front panel.  You can search Web Server in LabVIEW Help for extensive help or even look at this KB for reference:

How Can I View Remote LabVIEW Real-Time Front Panels in a Web Browser? 

Hope this helps!

Brian

 
0 Kudos
Message 2 of 6
(3,330 Views)

Yes, that's the problem.

I don't want to run the application on the web server. I just would like to display the front panel on the server and the application should run on a PC.

So it would be updating a picture in regular intervals, but I hoped there would be a way to accomplish that with the WebServer function.

 

Holger

0 Kudos
Message 3 of 6
(3,317 Views)
The web server built into LabVIEW isn't really designed to work the way you want. Do you actually just want to display the picture of the front panel, and have no user interaction with it? If so, you can just have the LabVIEW application upload the front panel image directly to the server. While the app is running on the PC it can periodically get the front panel image (you can use the properties and methods for the Application object to do this), and then use the TCP/IP functions to upload the image to the server. The server just needs to serve the page to an http request by returning whatever is on its disk drive.
0 Kudos
Message 4 of 6
(3,306 Views)

Thanks,

that answers my question.

I will go ahead and use wininet do upload the image periodically.

Holger

 

0 Kudos
Message 5 of 6
(3,304 Views)
One alternate solution that came to mind is to use a redirect on your web server. When someone tries to access the page on the web server, the web server can redirect the request to your PC that's running the application. Obviously, the PC would need to be running its own web server. This might work. And, it would eliminate the uploading bit.
0 Kudos
Message 6 of 6
(3,297 Views)