![VXI GPIB-VXI User Manual Download Page 44](http://html1.mh-extra.com/html/vxi/gpib-vxi/gpib-vxi_user-manual_1057860044.webp)
Local Command Set
Chapter 3
GPIB-VXI User Manual
3-2
© National Instruments Corporation
Command Set Access
The local commands can be executed from the following ports:
• RS-232
• GPIB
• VXI Word Serial communication
The three ports are active when the GPIB-VXI is in the Normal Operation sub-state and operate
independently of one another. The GPIB-VXI returns query responses only to the port
originating the query. The GPIB-VXI also maintains a separate status state for each port. You
can use local commands to disable and re-enable each port's access to the local command set.
The RS-232 port prompts you to enter a local command with the
GPIB-VXI>
prompt.
Command Syntax
The local command set parser is syntactically compatible with the IEEE-488.2 standard. It will
accept numeric parameters in the 488.2 binary, octal, decimal, or hexadecimal formats. 488.2
binary parameters are prefixed with
#b
. Octal parameters are prefixed with
#q
, and hexadecimal
parameters are prefixed with
#h
. The most common numeric parameter types are listed in Table
3-1. The ranges given in Table 3-1 apply unless otherwise specified.
Table 3-1. Valid Ranges for Common Numeric Command Parameters
Parameter
488.2 Decimal
488.2 Hexadecimal
<logical address>
0 to 254
#h0 to #hFE
<secondary address>
0 to 30
#h0 to #h1E
<handler>
1 to 3
#h1 to #h3
<level>
0 to 7
#h0 to #h7
<A16 address>
0 to 65535
#h0 to #hFFFF
<A24 address>
2097152 to 14680062
#h200000 to #hDFFFFE
<word value>
0 to 65535
#h0 to #hFFFF
<byte value>
0 to 255
#h0 to #hFF
<boolean>
0 or 1
#h0 or #h1
The logical value of a
<boolean>
parameter is FALSE for the numeric value 0, and TRUE for
the numeric value 1.
The first parameter is delimited from the command name by a space (
). Additional parameters
are delimited from one another by a comma (
,
). The command names are not case-sensitive.