NIM Primitives
4-39
TIWAY 1 Ti505 NIM User Manual
4.9.13.2
Gather Record Primitive – Code 56
The Gather Record Primitive specifies which records (as defined by the Define Record
Primitive 55) will be read. The records are specified by record numbers from 1 (hex) to 20
(hex). The total number of bytes returned by the record(s) must not cause the response to
exceed the maximum frame length. The Response Primitive will return the data associ-
ated with the requested records, in the same order as they were requested. A data record
or data type separator is not provided in the Response Primitive.
NOTE
Data will not be returned for records in error. Invalid records will cause a
Primitive error.
Request: LLLL 56 XX CC (CC is repeated XX times)
Symbol
Value
Definition
XX
Number of records requested
CC
Record numbers requested
Response: LLLL 56 HH XX CC DD ... DD
(repeated)
(repeated XX times)
Symbol
Value
Definition
HH
Attached device operational status
XX
Number of records in error
CC
Record numbers in error
DD
Data records returned without errors
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com