Average, Sample and CardOut are predefined instructions within the library of CR-
BASIC. The following notes give an account of the crucial instruction parameters
which are of great importance for the storage process.
The CardOut instruction has 2 parameters:
• StopRing - parameter 0 (Ring Mode) or 1 (Fill and Stop Mode)
• Size - fixed number of records, autoallocate (-1) or same
size like in memory (-1000)
The Average instruction has 4 parameters:
• Reps - number of elemets in the variable array for which to calculate the
averages
• Source - name of the variable for which an an average should be saved
• DataType - select the format in which an average should be saved
• DisableVar - variable used to determine, weather the current measurement
is included in the average saved to the data table (False = process current
measurement)
The Sample instruction has 3 parameters:
• Reps - number of samples to store to the data table
• Source - name of variable for which a sample should be saved
• DataType - selects the format in which to save the data
Once the instruction commands and paramters are determined they can be applied
in the same way to the storage process of the other sensor’s output.
44
Comentários a estes Manuais