Control Variable Demonstration

For this demonstration, load CVPSRVR.EXE on the target device.
NOTE: The display may take a little while to load in some browsers

"Beep Test" Virtual Control Panel

Beep On/Off

Frequency

Output

Here we have three CVP Java applets: two for controlling (push button and slider) and one for monitoring (bar). The push button and the slider control the speaker on the PC running the server. Pressing the button toggles the state of the Control Variable "CVPDEMO_BEEP" between "ON" and "OFF". The control program, CVPSRVR.EXE, monitors this variable and turns the speaker on or off. The slider sets the value of Control Variable "CVPDEMO_INPUT" to a number from 440 to 880, which CVPSRVR uses to set the frequency of the tone. Finally, the bar is monitoring changes in the variable "CVPDEMO_OUTPUT".


Copyright © 1999-2001 2net Limited. All rights reserved.