Section 6. Data Table Declarations and Output Processing Instructions
6-14
FieldNames “list of fieldnames”
The FieldNames instructions may be used to override the fieldnames that the
CR9000 generates for results sent to the data table.
Fieldnames
must
immediately follow the output instruction creating the data fields. Field names
are limited to 19 characters. Individual names may be entered for each result
generated by the previous output instruction or an array may used to name
multiple fields. When the program is compiled, the CR9000 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 fieldnames, the default names are used for the
remaining fields.
Example
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),
Fieldnames can also be used to put the programmer’s description of the field
into the “Process” field. The description for each field is entered following the
fieldname as:
FieldNames(“fieldname1:Description1,fieldname2:Description2,…”)
The ‘ : ’ character indicates the start of the description. Descriptions can have
any characters in them except commas. The description is optional.
The description is appended to the Processing field as ,:Description. That is, it
is an addition to what is already automatically there, with a comma and colon
in front of it.
The maximum size of the Processing Field is 64 characters. This leaves about
60 characters for a description of a Sample() instruction where the automatic
description is Smp. A compile error is issued if the user’s description won’t
fit.
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 ...