Specifications
Section 6. Data Table Declarations and Output Processing Instructions
including quotation marks, spaces, and other characters. As an example, the
processing description and fieldname description for a Sample instruction
might look like the following:
Smp,:This is a sample air temp"
Smp,: and the opening and closing quotation marks use 7 characters; therefore,
there are 58 remaining for the fieldname description.
If an output instruction generates multiple fields, individual names may be
entered for each or an array may be used. Individual names should be
separated by commas. If an array is used, the array name and dimension must
be specified (i.e., "Temp(4)" specifies an array of 4 field names; Temp(1)
through Temp(4)). Note that an expression which evaluates as a constant can
also be used to specify the array dimension. When the program is compiled,
the datalogger will determine how many fields are created. If the list of names
is greater than the number of fields, the extra names are ignored. If the number
of fields is greater than the number names in the list of field names, the default
names are used for the remaining fields.
Examples
Sample(4, Temp(1), IEEE4)
FieldNames “IntakeT, CoolerT, PlenumT, ExhaustT”
The 4 values from the variable array temp are stored in the output table with
the names IntakeT, CoolerT, PlenumT, and ExhaustT.
Sample(4, Temp(1), IEEE4)
FieldNames “IntakeT, CoolerT”
The 4 values from the variable array Temp are stored in the output table with 2
individual names and the remainder of the default array Temp:
IntakeT, CoolerT, Temp(3), and Temp(4),
Sample(4, Temp(1), IEEE4)
FieldNames “IntakeT(2)”
The 4 values from the variable array Temp are stored in the output table with
IntakeT,an array of 2, and the remainder of the default array Temp:
IntakeT(1), IntakeT(2), Temp(3), and Temp(4),
Histogram (BinSelect, DataType, DisableVar, Bins, Form, WtVal, LoLim,
UpLim)
This instruction processes input data as either a standard histogram (frequency
distribution) or a weighted value histogram.
The standard histogram counts the time that the bin select variable is within a
particular sub-range of its specified range. The count in a bin is incremented
whenever the bin select input falls within the sub-range associated with the
bin. The value that is output to the data table for each bin can either be the
accumulated total count for each bin or a relative fraction of time computed by
6-17