Simple Monitor Example
Specify a valid Process Variable name. The PV will then be monitored, i.e. all incoming data will be displayed.
The corresponding diagram shows the simplest application of the ActiveX CA Client VIs:
- Open a connection
- Wait for Data
- Close the connection
If the PV does not exist, the "PVCheckForXX.vi" will wait forever (timeout -1). If the PV exists initially but gets disconnected, the valid indicator will turn to the false state.
Tips for extensions:
09-Aug-1999, Kay-Uwe Kasemir
- The default value for the "Valid?" indicator should be "false".
- To extend this example to more than one PV, the timeout for the "PVCheckForXX.vi" should be changed from the default of -1 (wait forever).