The program ptm_monitor requires an input file that contains a list of Point IDs for points to be monitored. A sample monitor.input file is included with the API. The last word of the input file must be the word EXIT, and each Point ID must be on a separate line.
To run ptm_monitor, enter the command:
ptm_monitor
The Input File: prompt appears. Enter the name of the file that contains the list of points to be monitored.
Every time one of the points in the input file changes value, the new value will be displayed.
To stop the program, press Ctrl+C.
Sample programs. |