NIM Primitives
4-32
TIWAY 1 TI505 NIM User Manual
4.9.11
Write Random Block Primitive – Code 31
Primitive 31 replaces several blocks of contiguous data with the data included in the re-
quest.
Request: LLLL 31 TT NNNN AAAA DD ... DD
(repeated)
Symbol
Value
Definition
TT
Data element type
NNNN
Number of locations
AAAA
Data element location
DD
Data
Response: LLLL 31 HH XX BB ... BB (BB is repeated XX times)
Symbol
Value
Definition
HH
Attached device operational status
XX
Number of block writes not completed due to error
BB
Block numbers not processed due to error, with the
first block in the sequence referenced as block 1.
CAUTION
Blocks in error (specified by BB) may have been partially written before
a failure occurred. Valid blocks will complete without returning a Primi-
tive error.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com