Warning: If the readback values of all of the waveform PVs do not change, then no data sets are written to the output file. This skipping of duplicate values is intended to keep the size of the output file as small as possible. The scalar PVs are not checked for changes though. In the future an option that allows logging of duplicate waveform PVs may be implemented.
where the contents of the file SlowBh.wmon are
The input file is an SDDS file with two required columns and one required parameter:
An optional input file for scalar PVs (i.e. regular PVs) can be specified. The required columns are:
The conditions file is an optional input file specified on the command line which lists conditions that must be satisfied at each time step before the data can be logged.
The file is like the main input file, but has numerical columns LowerLimit and UpperLimit. The minimal column set is ControlName, which contain the PV names, and the two limits columns above. Depending on command line options, when any or all PV readback from this file is outstide the range defined by the corresponding data from LowerLimit and UpperLimit, none of the data of the input file PVs are recorded. When this situations occurs for a long period of time, the size of the output file doesn’t grow, and it may appear that the monitoring process has somehow stopped. It is possible to check the program activity with the touch sub-option which causes the monitoring program to touch the output file at every step.
The output file contains one data column for each waveform process variable named in the input file. The names of the data columns are given by the values of WaveformName in the input file. The units are obtained internally from the EPICS database. An additional long column Index is created that give the index of each point in the waveform.
The values of the scalar PVs are written to parameters with names given by the ReadbackName column of the optional scalars input file. The units are obtained internally from the EPICS database. Scalar PVs that fail to connect when the program starts are omitted from the output file.
By default, the data type is float (single precision). Each reading step produces a new page in the output file.
Time and other miscellaneous parameters are defined:
For each connected scalar PV defined in the scalars command line option a parameter of type double is defined.
Many additional parameters which don’t change values throughout the file are defined: