G Web Server Examples

Specify Plots CGI

This CGI takes one or more of the parameters plot1, plot2 and average and toggles the corresponding button(s) "Plot 1", "Plot 2" and "Average" on the running VI "Multiple Waveforms.vi".

The CGI is using the VI Server "Set Control Value" VI method to toggle the buttons.

Multiple Waveforms.vi

/cgi-bin/examples/plots.vi?plot1
Toggles the value of the button "Plot 1"

/cgi-bin/examples/plots.vi?plot2
Toggles the value of the button "Plot 2"

/cgi-bin/examples/plots.vi?avg
Toggles the value of the button "Average"


© National Instruments