Chapter 3
Local Command Set
3-62
ni.com
A16
Purpose
Write a 16-bit value into VXI A16 space.
Command Syntax
A16 <A16 address>, <word value>
Action
Write
<word value>
to
<A16 address>
.
Example
Write A502h to VXI A16 address 4305h.
A16 #h4305, #hA502
A16?
Purpose
Read word value from VXI A16 address space.
Query Syntax
A16? <A16 address>
Response
Program response:
<word value>
<CRLF>
Console response:
Value <hex word value> (<word value>) read from A16 address <A16 hex
address> (<A16 address>)
<CRLF>
where
<word value>
is in decimal integer format,
<hex word value>
is in C language
hexadecimal format,
<A16 hex address>
is in C language hexadecimal format, and
<A16 address>
is in decimal integer format.
Example
Read the ID register of Logical Address 16.
A16? #hc400