LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Post live graph to web

I’m looking to post a live or running graph on the web - see attached picture.  I know this is possible, but don’t want to reinvent the wheel if something is readily available for me to reference.  I’m not looking for remote control on this – just want to be able to invite others to see the process.  I’m in uncharted waters here and just now starting to think about the subject.  I setup a quick link within my webpage before turning in last night: http://www.mathewsullivan.com/Personal/Test.htm

0 Kudos
Message 1 of 6
(3,155 Views)
Hi Cryo,

2 options come to my mind:
1) You can get the actual frontpanel by using a property node of the vi. Then you can save this picture to a "website" and link it within an HTML file with automatic refresh. (That's how I do it for internal purposes...)
2) You can enable remote control of your vi via web/internet explorer. Here the user can also look at your front panel.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,145 Views)
Tools>Web Publishing Tool>Monitor.
0 Kudos
Message 3 of 6
(3,135 Views)

In your executable initialization file add this in:

[Diff_Bond]
WebServer.Enabled=True

Where Diff_Bond is the name of your executable.

Then with your favorite browser use the following url:

http://machinename/.type?program.vi

where

Machinename is the name of your machine

Note "." before type where type can be monitor or snap. monitor will provide continuous updates while snap is a one time snap shot of the vi (if you do a refresh, it will update it properly).

program.vi the name of the VI you want to display. In your particuliar case the graph VI.

Message 4 of 6
(3,125 Views)

Thanks for the feedback.  While attempting to go the tools/options rout, I’m getting network address is ill-formed.

0 Kudos
Message 5 of 6
(3,106 Views)

I’ve checked with tech support at NI, GoDaddy, and I our IT Admin.  Everything is in place, but my webpage needs to reference my location here through our firewall.  Any thoughts on the HTML coding that needs to be added to the webpage?

0 Kudos
Message 6 of 6
(3,035 Views)