NIM Primitives
4-35
TIWAY 1 Ti505 NIM User Manual
4.9.12.3
Write and Gather Block Primitive – Code 52
The Write and Gather Block Primitive specifies which blocks (as defined with Define
Block Primitive 50) will be read. It also allows a user to replace any contiguous data ele-
ment locations. The blocks to gather are specified through a 32-bit mask (EEEEEEEE).
In the bit mask position which corresponds to a block specified in the Define Block Primi-
tive, a bit value of 1 indicates that the block is to be returned. A bit value of 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. Following the mask are the descriptors associated with the write function, which
is performed before the gather operation. The response will return the data associated
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com