NIM Primitives
4-34
TIWAY 1 TI505 NIM User Manual
4.9.12.2
Gather Block Primitive – Code 51
The Gather Block Primitive specifies which blocks (as defined by the Define Block Primi-
tive 50) will be read. The blocks are specified through a 32-bit mask (EEEEEEEE).
Each bit position in the bit mask corresponds to a block that was defined with Primitive
50, Define Block. A bit set to 1 indicates that the block is to be returned. A bit set to 0
means that the block will not be returned. You should not request more data than can be
returned in a maximum length Primitive frame. The response will return the data asso-
ciated with the requested blocks, beginning with the lowest block number and increasing
to the highest block number. A data block separator is not provided in the response.
Request: LLLL 51 EEEEEEEE
where EEEEEEEE is 32 bits, defined as:
Block Number 1 (hex)
Block Number
20 (hex)
. . .
. . .
MSB
LSB
Response: LLLL 51 HH EEEEEEEE DD ... DD
(repeated)
Symbol
Value
Definition
HH
Attached device operational status
EEEEEEEE
EEEEEEEE is a mask as defined by the Request Primitive
DD
Data defined by the block being read. The order of
return of the blocks is from the lowest numbered
block to the highest. For example, if blocks 2, 4, and A
were requested, the first data block in the response
specifies data which is associated with block 2, the
next data block specifies data which is associated
with block 4, etc.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com