Overview Of Response Message Formats; Response Messages; Response Message Syntax - Keysight 53147A Operating And Programming Manual

Microwave frequency counter/power meter/dvm
Table of Contents

Advertisement

Overview of Response Message Formats

Response Messages

Response messages are data sent from the instrument to a computer in response
to a query. A query is a command followed by a question mark. Queries are used
to find out how the instrument is currently configured and to transfer data from
the instrument to the computer.
After receiving a query, the instrument interrogates the requested configuration
and places the response in its output queue. The output message remains in the
queue until it is read or another command is issued. When read, the message is
transmitted across the GPIB or the serial interface to the computer. You read the
message by using some type of enter statement that includes the device address
and an appropriate variable. Use a print statement to display the message. The
following BASIC example illustrates how to query the instrument and display
the message:

Response Message Syntax

Figure 3-11
messages may contain both commas and semicolon separators. When a single
query command returns multiple values, a comma is used to separate each item.
When multiple queries are sent in the same program message, the groups of data
corresponding to each query are separated by a semicolon. Note that a <new
line> ^END is always sent as a response message terminator.
Keysight 53147A/148A/149A Operating and Programming Guide
10 OUTPUT 703;":ROSC:SOUR?"
20 ENTER 703; A$
30 PRINT A$
40 END
shows the simplified syntax of a Response Message. Response
response data
;
,
<new line>
Programming
^END
169
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

53148a53149a

Table of Contents