Querying Parameter Setting; Query Response Format; Scpi Command Terminator; Ieee-Std-488.2 Common Commands - Racal Instruments 3151 User Manual

Waveform generator
Table of Contents

Advertisement

Querying Parameter
Setting
Query Response
Format
SCPI Command
Terminator
IEEE-STD-488.2
Common
Commands
SCPI Command Reference 4-4
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?
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 generator.
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.
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.
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?
3151 And 3151A User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3151a

Table of Contents