Receiving Information from the Instrument
After receiving a query (logic analyzer instruction followed by a question
mark), the logic analyzer interrogates the requested function and places the
answer in its output queue. The answer remains in the output queue until it
is read, or, until another command is issued. When read, the message is
transmitted across the bus to the designated listener (typically a controller).
The input statement for receiving a response message from an logic
analyzer’s output queue usually has two parameters: the device address and
a format specification for handling the response message.
All results for queries sent in a program message must be read before another
program message is sent. For example, when you send the query
:MACHINE1:ASSIGN?, you must follow that query with an input statement.
In Basic, this is usually done with an ENTER statement.
The format for handling the response messages is dependent on both the
controller and the programming language.
Example To read the result of the query command :SYSTEM:LONGFORM? you can
execute this Basic statement to enter the current setting for the long form
command in the numeric variable Setting.
ENTER XXX; Setting
1–15