From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,597 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,597 Views)