Section 6. Data Table Declarations and Output Processing Instructions
6-9
Parameter
& Data Type
Enter
PamOut Parameters
Slot
Constant
The number of the slot in the CR9000 card frame that holds the PAM Module.
Card
The card (A or B) in which to store the data on the PAM module
Constant
Alpha Code
Numeric Code
Card
CARDA 0
A
CARDB 1
B
StopRing
Constant
A code to specify if the Data Table on the PCMCIA card is fill and stop or ring (newest data overwrites
oldest).
Value Result
0 Ring
1
Fill and Stop
Size
Constant
The size to make the data table. The number of data sets (records) to allocate memory for in the
PCMCIA card. Each time a variable or interval trigger occurs, a line (or row) of data is output with the
number of values determined by the output Instructions within the table. This data is called a record.
Note
Enter a negative number and all remaining memory (after creating fixed size data tables) will
be allocated to the table or partitioned between all tables with a negative value for size. The
partitioning algorithm attempts to have the tables fill at the same time.
6.4 Output Processing Instructions
Average (Reps, Source, DataType, DisableVar)
This instruction stores the average value over the output interval for the source
variable or each element of the array specified.
Parameter
& Data Type
Enter
Average Parameters
Reps
Constant
The number of averages to calculate. When Reps is greater than one, the source must be an array.
Source
Variable
The name of the Variable that is to be averaged.
DataType
A code to select the data storage format.
Constant
Alpha Code
Numeric Code
Data Format
IEEE4
24
IEEE 4 byte floating point
FP2
7
Campbell Scientific 2 byte floating point
DisableVar
Constant,
Variable, or
Expression
A non-zero value will disable intermediate processing. Normally 0 is entered so all inputs are processed.
For example, in the Average instruction, when the disable variable is
≠
0 the current input is not included
in the average. The average that is eventually stored is the average of the inputs that occurred while the
disable variable was 0.
Value Result
0
Process current input
≠
0
Do not process current input
Summary of Contents for CR9000
Page 6: ...CR9000 Table of Contents iv This is a blank page ...
Page 22: ...CR9000 Overview OV 16 This is a blank page ...
Page 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Page 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Page 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Page 217: ...This is a blank page ...