User's Manual

Engineering Test Software Operation
Rev 28_A Sept 2005
VIA Telecom, Inc. Proprietary
17
Rules:
1. If the base field parameter is used, enum and bool are not allowed as values.
2. An array field is displayed as a list of space-delimited numbers.
3. A maxsize field parameter is required and defines the maximum number of elements in the array.
4. If just the maxsize parameter is specified (i.e., no size parameter) then the array is of fixed length.
5. A size field parameter is used to specify a variable length array field.
6. All other numeric field parameters apply to this field type with the exceptions of those noted in these
rules.
Examples:
Fixed length array field with 253 entries
Data,array, type=uint8, maxsize=253
Fixed length array field whose size is the number of entries in the enumerated list "AnEnum."
Data, array, type=uint8, maxsize=SizeOfEnum:AnEnum
Fixed length array field displayed in 60 columns
Data, array, type=uint8, maxsize=253, columns=60
Fixed length array field displayed in 60 columns and 3 rows
Data, array, type=uint8, maxsize=253, columns=60, rows=3
Variable length array field to end of message with a maximum size of 253
Data, array, type=uint8, maxsize=253, size=end
Variable length array field with a length specified in the Length field.
Length, uint16
Data, array, type=uint8, maxsize=253, size=Length
Array of bitfields. This applies only to messages defined with the BitPack option.
Data, array, type=bit, count=2, maxsize=16
3.3.5
Record Fields
The record field type represents a one-dimensional arrays of records. The type field parameter is used to define
the record to be used.
Rules:
1. The type parameter must be present and contain a valid record name.
2. A maxsize parameter is required and defines the maximum number of records in the array.
3. If just the maxsize parameter is specified (i.e., no size parameter) then the array has a fixed number of
records.
4. A size parameter is used to specify a variable number of records in the array.
5. Record arrays can be used as fields of messages and records.