6-1
Section 6. Data Table Declarations and
Output Processing Instructions
6.1 Data Table Declaration
DataTable (Name, TrigVar, Size)
output trigger modifier
export data destinations
output processing instructions
EndTable
DataTable is used to declare/define a data table. The name of the table, output
trigger and size of the table in RAM are set with DataTable. The Table
declaration must be at the beginning of the code prior to BeginProg. The table
declaration starts with DataTable and ends with EndTable. Within the
declaration are output trigger modifiers (optional, e.g., DataInterval, DataEvent
or WorstCase), the on-line storage devices to send the data to (optional, e.g.,
PAMOut, FlashOut, DSP4), and the output processing instructions describing
the data set in the table.
Parameter
& Data Type
Enter
DataTable Parameters
Name
Name
The name for the data table. The table name is limited to eight characters.
TrigVar
The name of the variable to test for the trigger. Trigger modifiers add additional conditions.
Constant
Value Result
Variable, or
0
Do not trigger
Expression
≠
0
Trigger
Size
Constant
The size to make the data table. The number of data sets (records) to allocate memory for in static
RAM. 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. The total
number of records stored equals the size..
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.
DataTable Example - see native language Section 4.3.
EndTable
Used to mark the end of a data table.
See DataTable
Содержание CR9000
Страница 6: ...CR9000 Table of Contents iv This is a blank page ...
Страница 22: ...CR9000 Overview OV 16 This is a blank page ...
Страница 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Страница 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Страница 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 217: ...This is a blank page ...