LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CGI Infos

I'm have to do with CGI a VI who test if a VI is running, if yes, the cgi
script redirect the link to the vi to show his front panel.

So if you have any hint to give to me, let me know!

Eric
0 Kudos
Message 1 of 2
(2,870 Views)
Hi Eric,

U can use the VI property (VIServer) to monitor the Execution.State property and when that property is "Running", then you know that the VI is up and running. In that case you let the "CGI Write Reply.vi" and set the header to
Location: /.snap?test.vi
This would redirect the HTTP server to the front panel URL and you would see the front panel.

A Rafiq
National Instruments
Message 2 of 2
(2,870 Views)