The program ptm_script requires an input file that contains a list of Point IDs and values to be set. A sample script.input file is included with the API. The following commands are also valid in this file:
WAIT |
The program will wait <n> seconds before processing the next record. |
PAUSE |
The program will wait until the user presses Enter. |
EXIT |
The program will stop reading the input file and terminate. |
To run ptm_script, enter the command:
ptm_script <filename>
Where <filename> is the name of the input file.
Every time one of the points in the input file changes value, the new value is displayed.
Sample programs. |