Chapter 3
Local Command Set
3-42
ni.com
WREG
Purpose
Write a 16-bit VXI register on a particular device.
Query Syntax
WREG <logical address>, <reg offset>, <value>
where
<logical address>
is the device to write,
<reg offset>
is the register offset to
write to, and
<value>
is the 16-bit value to write.
Action
Write
<value>
to
<logical address>
, register offset
<reg offset>
.
Example
Write the Data Low register for Logical Address 4 with the value
65535
.
WREG 4,14,65535