Specifications
Section 4. CRBasic - Native Language Programming
4-3
Processing of Data
What data are to be output (current value,
average, maximum, minimum, etc.)
Define Subroutines
If there is a process or series of calculations
that need to be repeated several times in the
program, it can be packaged in a subroutine
and called when needed rather than repeating
all the code each time.
Program
The program section defines the action of
datalogging
Set scan interval
The scan sets the interval for a series of
measurements
Measurements
Enter the measurements to make
Processing
Enter any additional processing with the
measurements
Call Data Table(s)
The Data Table must be called to process
output data
Initiate controls
Check measurements and Initiate controls if
necessary
NextScan
Loop back (and wait if necessary) for the next
scan
End Program