OVERVIEW
A new option has been added to the Real Time Plot (RTPLOT) program. This new option allows
the user to load a FORM definition and view the plot directly from the command line.
THEORY OF OPERATION
The Real Time Plot program looks to see if a command line option was included when the
program was invoked. If no command line options are found it proceeds to put up the user input
form exactly as before. The contents of the form will be the contents of the form from when the
user last ran the program.
If a command line option was included on the command line, it will be taken to be the name of a
PreSaved Form. PreSaved Forms are defined in a special PreSaved Form file located in the
F:\RUNTIME directory. This ASCII file defines a list of PreSaved Forms. These PreSaved
Forms include information to fill in the Title, Elapsed Time, and point list to be entered onto the
user entry form. The form is then checked for validity. If any fields on the form are invalid
(such as an invalid point name) the user will be left editing the form with the invalid fields
highlighted. If all fields in the form are valid, the plot will be displayed.
The PreSaved Form file for the Real Time Plot program is an ASCII file located as:
F:\RUNTIME\RTPLOT.PSF
This file should be edited using an ASCII editor to define the PreSaved Forms desired for each
site. There is no limit to the number of PreSaved Forms that you may have in this file. Each
PreSaved Form is given an OPTION name, and it is the name of the OPTION that is used as the
command line parameter to the Real Time Plot program.
To create a main menu option that includes the use of a PreSaved Form, you should include the
name of the PreSaved Form as a parameter to the Real Time Plot (RTPLOT) program. The
PreSaved Form name is not case sensitive, so you may use upper, lower, or mixed case.
For example: To create a main menu option for the above sample Plant Output plot, you would
make the following addition to the main menu data file:
Addition to F:\RUNTIME\MENU.DAT
" Plant Output Plot" "g:\exec\rtplot.exe" "Plant Output"