
3151 And 3151A User Manual
SCPI Command Reference 4-4
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 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.
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?
Содержание 3151
Страница 4: ...This page was left intentionally blank...
Страница 24: ...3151 And 3151A User Manual Getting Started 1 12 This page was left intentionally blank...
Страница 29: ...3151 And 3151A User Manual Configuring The Instrument 2 5 Figure 2 1 Set The Logical Address...
Страница 74: ...3151 And 3151A User Manual Using The Instrument 3 44 This page was left intentionally blank...
Страница 98: ...3151 And 3151A User Manual SCPI Command Reference 4 24 This page was left intentionally blank...
Страница 126: ...3151 And 3151A User Manual Optional Harness Assemblies 6 2 This page was left intentionally blank...
Страница 127: ...3151 And 3151A User Manual Optional Harness Assemblies 6 3...
Страница 131: ...3151 And 3151A User Manual Optional Harness Assemblies 6 7...