Chapter 3
Local Command Set
3-92
ni.com
Word Serial Communication Commands and Queries
These Word Serial communication commands and queries are described in the following
sections:
•
ProtErr?
•
RespReg?
•
WScmd
•
WScmd?
•
WSresp?
•
WSstr
•
WSstr?
You can use these commands to directly generate Word Serial communication operations with
any Message-Based device, including the GPIB-VXI/C itself, regardless of whether or not it
is the GPIB-VXI/C’s Servant.
Note
The Word Serial communication commands and queries are intended for debugging
purposes. National Instruments does not guarantee that these commands will work when
other Word Serial paths, such as the GPIB address link, are open.
Some of the Word Serial commands as defined in the VXIbus specification require a response
from the Message-Based device, while other commands do not. To distinguish between the
two types of Word Serial commands and to avoid confusion between Word Serial commands
and GPIB-VXI/C local commands and queries, the following terminology will be used in this
section:
•
Word Serial command
—A VXI-defined Word Serial command that does not require a
response from the Message-Based device.
•
Word Serial query
—A VXI-defined Word Serial command that requires a response from
the
Message-Based device.
•
Command
—A GPIB-VXI/C command, as defined in this chapter.
•
Query
—A GPIB-VXI/C query, as defined in this chapter.
You can use the
WScmd
command to send a Word Serial command to a Message-Based device.
The
WScmd?
query is used to send a Word Serial query to the Message-Based device, and to
automatically read and return the device’s response.
You can also use
WScmd
to send a Word Serial query to a Message-Based device. Because
WScmd
does not read the query response, the intermediate state of the device can be examined
using the
RespReg?
query, after which the response can be read using the
WSresp?
query.