3152A User Manual
SCPI and HS Command Reference 4-4
Racal Instruments
©
2001
Querying
Parameter Setting
Query the current value of most parameters by adding a
question mark ( ? ) to the command. For example, the following
command sets the output function to square:
SOUR:FUNC:SHAP
SQR
Query the output function by executing:
SOUR:FUNC:SHAP?
Query Response
Format
The response to a query depends on the command sent to the
instrument to generate the query response. In general, a
response to a query contains current values or settings of the
synthesizer. Commands that set values can be queried about
their current value of the setting. Commands that set modes of
operation can be queried about their current mode setting. IEEE-
STD-488.2 common queries generate responses which are
common to all instruments that are connected to the GPIB
interface.
SCPI Command
Terminator
A command string sent to the function generator must terminate
with a <new line> character. The IEEE-STD-488 EOI (end-or-
identify) message is interpreted as a <new line> character. A
<carriage return> followed by a <new line> is also accepted.
Command string termination always resets the current SCPI
command path to the root level.
IEEE-STD-488.2
Common
Commands
The IEEE-STD-488.2 standard defines a set of common
commands that perform functions like reset, trigger and status
operations. Common commands begin with an asterisk ( * ), are
four to five characters in length, and may include one or more
parameters. The command keyword is separated from the first
parameter by a blank space. Use a semicolon ( ; ) to separate
multiple commands as shown below:
*RST; *STB?; *IDN?
SCPI Parameter
Types
The SCPI language defines several different data formats to be
used in program messages and response messages.
Содержание 3152A
Страница 5: ......
Страница 6: ...This page was left intentionally blank...
Страница 18: ...3152A User Manual xii This page was left intentionally blank...
Страница 25: ...3152A User Manual Racal Instruments 2001 Getting Started 1 7 Figure 1 2 3152A Front Panel...
Страница 156: ...3152A User Manual Product Support 6 4 Racal Instruments 2001 This page was left intentionally blank...