This section lists and describes the remote control commands and queries recognized
by the instrument. All commands and queries can be executed in either local or remote
state.
The description for each command or query, with syntax and other information, begins
on a new page. The name (header) is given in both long and short form at the top
of the page, and the subject is indicated as a command or query or both. Queries
perform actions such as obtaining information, and are recognized by the question
mark (?) following the header.
1.1.1. How they are listed?
The descriptions are listed in alphabetical order according to their short form.
1.1.2. How they are described?
In the descriptions themselves, a brief explanation of the function performed is
given. This is followed by a presentation of the formal syntax, with the header given
in Upper-and-Lower-Case characters and the short form derived from it in ALL
UPPER-CASE characters. Where applicable, the syntax of the query is given with the
format of its response.
1.1.3. When can they be used?
The commands and queries listed here can be used for SDGxxxx Series digital
instruments.
1
SDG1000 Programming Manual
1.1.4. Command Notation
The following notation is used in the commands:
< > Angular brackets enclose words that are used
placeholders, of which there are two types: the header path
and the data parameter of a command.
:= A colon followed by an equals sign separates a placeholder
from the description of the type and range of values that
may be used in a command instead of the placeholder.
{ } Braces enclose a list of choices, one of which one must be
made.
[ ] Square brackets enclose optional items.
… An ellipsis indicates that the items both to its left and right
may be repeated a number of times.
2
SDG1000 Programming Manual
1.2. Table of Commands & Queries
Short Long Form Subsystem What Command/Query dose
*IDN *IDN SYSTEM Get identification from
device.
*OPC *OPC SYSTEM Get or set the OPC bit (0)
in the Event Status Register
(ESR).
CHDR COMM_HEADER Set the format of return data
(Long, short, off)
HTBSWVTH
ARWV ARBWAVE Data
HTBUZZTH
SHTCFGTH
ROSC ROSCILLATOR SIGNAL Set or get clock source.
MOD MODULATION SIGNAL Set or get modulated wave
OUTP OUTPUT SIGNAL Set or get output state.
CHCP CHANNEL_COPY SIGNAL Copy parameters from channel
INVT INVERT SIGNAL Set or get output signal phase
HTSCSVTH
SWE SWEEP SIGNAL Set or get sweep wave.
HTSYNCTH
BTWV BURSTWAVE SIGNAL Set or get burst wave
MDWV MODULATEWAVE SIGNAL Set or get modulate wave
STL STORE_LIST SIGNAL Get the list of store wave.
WVDT WAVE_DATA SIGNAL Get the wave data of store .
VKEY VIRTUALKEY SYSTEM Set the virtual key.
BASIC_WAVE SIGNAL Set or get basic wave
parameters. Turns on or off
channel signal.
Change arbitrary wave type.
SYSTEM
BUZZER SYSTEM Set or get buzzer State.
SYSTEM_CONFIG SYSTEM Set or get power on
initializing parameter way
parameters.
one to channel two, or from
channel two to channel one.
state.
SCREEN_SAVE SYSTEM Set or get screen save State.
SYNC SIGNAL Set or get in-phase signal.
parameters.
parameters.
3
SDG1000 Programming Manual
1.3. IEEE 488.2 Common Command Introduction
IEEE standard defines the common commands used for querying the basic information
of the instrument or executing basic operations. These commands usually start with
"*" and the length of the keywords of the command is usually 3 characters.
1.3.1 CHDR
DESCRIPTION This Command is used to change query command return format.
SHORT parameter is return short format. LONG parameter is
return long format. Off is that command header and
parameter unit will not return.
EXAMPLE 1 Set query command format to long.
CHDR LONG
EXAMPLE 2 Read query command format.
CHDR?
return:
COMM_HEADER LONG
4
SDG1000 Programming Manual
1.3.2 OPC
DESCRIPTION The *OPC (OPeration Complete) command sets to true the OPC
bit (bit 0) in the standard Event Status Register (ESR).
The *OPC? query always responds with the ASCII character
1 because the device only responds to the query when the
previous command has been entirely executed.
QUERY SYNTAX *OPC?
RESPONSE FORMAT *OPC 1
5
SDG1000 Programming Manual
1.3.3 IDN
DESCRIPTION The *IDN? Query causes the instrument to identify itself.
The response comprises manufacturer, scope model, serial
number, software version and firmware version.
QUERY SYNTAX *IDN?
RESPONSE FORMAT *IDN ,<device id>,<model>,<serial number>,<software
version>,<firmware version>
<device id>:=“SDG”is used to identify instrument.
<model>:= A model identifier less than 14 characters.
<serial number>:= A nine- or 10-digit decimal code .
<software version>:= A serial numbers about software
version.
<firmware version>:= two digits giving the major release
level followed by a period, then one digit giving the minor
release level followed by a period and a single-digit
update level (xx.y.z).
EXAMPLE 1 Reads version information.
*IDN?
return:
*IDN SDG SDG1022,00-00-00-13-22,1.01.01.10R1,20.234.3.
(return may differ form each version)
6
SDG1000 Programming Manual
1.4. Output Command
DESCRIPTION Enable or disable the output of the [Output] connector at
the front panel corresponding to the channel.
The query returns ON or OFF.
Parameters Value Description
ON --- Turn on channel
OFF --- Turn off channel
LOAD <load> Value of load
where: <load>:= {50(default unit is ohm), HZ}
QUERY SYNTAX <channel>: OUTPut?
RESPONSE FORMAT <channel>:OUTPut <load>
EXAMPLE 1 Turns on channel one.
C1:OUTP ON
EXAMPLE 2 Reads channel one output state.
C1:OUTP?
return:
C1:OUTP ON,LOAD,HZ
EXAMPLE 4 Set the load to 50Ω
C1:OUTP LOAD,50
7
SDG1000 Programming Manual
1.5. Basic Wave Command
DESCRIPTION Set or get basic wave parameters.
COMMAND SYNTAX <channel>:BaSicWaVe <parameter>
<channel>:={C1, C2}
<parameter>:= {a parameter from the table below}
Parameters Value Description
WVTP <type> Type of wave
Value of frequency. I
FRQ <frequency>
AMP <amplifier>
OFST <offset>
SYM <symmetry>
DUTY <duty>
PHSE <phase>
VAR <variance>
MEAN <mean>
f wave type is Noise,
you can’t set this p
arameter.
Value of amplifier. I
f wave type is Noise,
you can’t set this p
arameter.
Value of offset. If w
ave type is Noise, yo
u can’t set this para
meter.
Value of symmetry. Only
wave type is Ramp, you
can set this parameter.
Value of duty cycle.
Only Pulse and Duty can
set this parameter.
Value of phase. If wa
ve type is Noise, you
can’t set this param
eter.
Value of Noise wave
Variance.Only wave
type is Noise, you can
set this parameter.
Value of Noise wave
mean. Only wave type is
Noise, you can set this
parameter.
8
SDG1000 Programming Manual
Value of delay. Only
DLY <delay>
Note: if the command don’t set basic wave type, the parameter will set parameters
to current device wave type default.
<frequency>:= { Default unit is "HZ". Minimum value is
1xe-6 HZ, maximal value depends on the version.}
<amplifier>:= {Default unit is "V". Channel one minimum
value 0.004V, Maximal is 6V. Channel two minimum value
0.004V, Maximal is 20V. }
<offset>:= { Default unit is "V". maximal value depends on
the maximal value depends on the version.}
<duty>:= {If wave type is square, range is from 20% to 80%.
if wave type is pulse, range is from 0.1% to 99.9%}
<symmetry> :={ 0% to 100%}
<phase>:= {0° to 360°}
<variance>:= Maximal is 2.222V, minimum value is 0.4mV.The
default unit is "V".
<mean>:= The range depends on Variance . The default unit
is "V".
<delay>:= Maximal is Pulse Period, minimum value is 0.Unit
is S.
<parameter>:= {a parameter from the table below. }
Parameters Value Describe
Turn on or off modulated
wave. Note if you want
STATE <state>
AM,SRC <src> AM signal source.
AM,MDSP <mod wave shape>
AM,FRQ <am frequency>
AM,DEPTH <depth>
DSBAM,SRC <src> DSBAM signal source
DSBAM,MDSP <mod wave shape>
DSBAM,FRQ <dsbam frequency>
FM,SRC <src> FM signal source
FM, MDSP <mod wave shape>
FM,FRQ <fm frequency>
FM,DEVI <fm frequency offset>
set or read modulate wave
other parameter you must
turn on the state first.
AM modulation wave. .
Only AM signal source is
set to INT.
AM frequency. Only AM
signal source is set to
INT.
AM deep. Only AM signal
source is set to INT.
DSBAM modulation wave. .
Only AM signal source is
set to INT.
DSBAM frequency. Only AM
signal source is set to
INT.
FM modulation wave. Only
FM signal source is set
to INT.
FM frequency. Only FM
signal source is set to
INT.
FM frequency offset.
Only FM signal source is
set to INT.
11
SDG1000 Programming Manual
PM,SRC, <src> PM signal source
PM modulation wave. Only
PM,MDSP <mod wave shape>
PM,FRQ <pm frequency>
PWM,FRQ <pwm frequency>
PWM,DEVI <pwm devi>
PWM,MDSP <mod wave shape>
PWM,SRC <src> PWM signal source.
PM,DEVI <pm phase offset>
ASK,SRC <src> ASK signal source.
ASK,KFRQ <ask key frequency>
FSK,KFRQ <fsk frequency>
FSK,HFRQ <fsk hop frequency> FSK jump frequency
FSK,SRC <src> FSK signal source
CARR,WVTP <wave type>
CARR,FRQ <frequency> Value of frequency.
CARR,AMP <amplifier> Value of amplifier.
CARR,OFST <offset> Value of offset.
CARR,SYM <symmetry> Value of symmetry.
CARR,DUTY <duty>
CARR,PHSE <phase> Value of phase.
CARR DLY <delay> Value of delay.
Note: If Carrier wave is Pulse or Noise you can’t set turn on modulate wave.
If you want set AM, FM, PM, CARR and STATE the first parameter have to one of them.
PM signal source is set
to INT.
PM frequency. Only PM
signal source is set to
INT.
PWM frequency. Only
carry wave is PULSE wave.
Duty cycle deviation.
Only carry wave is Pulse
Wave.
PWM modulation wave.
Only carry wave is PULSE
wave.
PM phase offset. Only PM
signal source is set to
INT.
ASK key frequency. Only
ASK signal source is set
to INT.
FSK frequency. Only FSK
signal source is set to
INT.
Value of carrier wave
type.
Value of duty cycle.
Only Square can set this
parameter.
12
SDG1000 Programming Manual
where: <state>:={ON,OFF}
<src>:= {INT,EXT}
<mod wave shape>:={SINE,SQUARE,TRIANGLE,
UPRAMP,DNRAMP,NOISE,ARB}
<am frequency>:= {0.002Hz to 20000Hz}
<deep>:= {0% to 120%}
<fm frequency>:= {0.002Hz to 20000Hz}
<fm frequency offset> :={0 to basic wave frequency / 2}
<pm frequency> :={ 0.002Hz to 20000Hz}
<pm phase offset>:= {0° to 360°}
<pwm frequency>:= {0Hz to 4kHz }
<pwm devi>:= {depends on carry wave duty}
<ask key frequency>:= {0.002Hz to 20000Hz}
<fsk frequency>:= {0.002Hz to 50000Hz}
<fsk jump frequency>:= { the same witch basic wave
frequency}
<wave type>:={SINE ,SQUARE, RAMP, ARB, PULSE }
<frequency>:= { Default unit is "HZ". Minimum value is
1xe-6 HZ, maximal value depends on the version.}
<amplifier>:={Default unit is "V". Channel one
minimum value 0.004V, Maximal is 6V. Channel two minimum
value 0.004V, Maximal is 20V. }
<offset>:={ Default unit is "V".}
<duty>:={ If wave type is square, range is from 20% to 80%.
If wave type is pulse, range is from 0.1% to 99.9%.}
<symmetry>:={ 0% to 100%}
<delay>:={the maximal value is 2ks}
<parameter>:= {a parameter from the table below. }
Parameters Value Description
STATE <state> Turn on or off sweep wave.
Note if you want set or read
sweep wave other parameter
you must turn on the state
first.
TIME <time> Value of sweep time
STOP <stop frequency> Value of stop frequency
START <start frequency> Value of start frequency
TRSR <trigger src> Trigger source
TRMD <trigger mode> Value of trigger output. If
TRSR is EXT, the parameter
is invalid.
SWMD <sweep mode > Sweep way
DIR <direction> Sweep direction
EDGE <edge> Value of edge. Only TRSR is
EXT,the parameter is
valid.
MTRIG <manual trigger> Make the device once manual
trigger. Only TRSR is MAN,
the parameter is valid.
CARR,WVTP <wave type> Value of carrier wave type.
CARR,FRQ <frequency> Value of frequency.
CARR,AMP <amplifier> Value of amplifier.
CARR,OFST <offset> Value of offset.
CARR,SYM <symmetry> Value of symmetry.
Value of duty cycle.
CARR,DUTY <duty>
CARR,PHSE <phase> Value of phase.
Only Square can set this
parameter.
15
SDG1000 Programming Manual
Note: If Carrier wave is Pulse or Noise you can’t set turn on modulate wave.
If you want set CARR and STATE the first parameter have to one of them.
where: <state>:= {ON|OFF}
<time>:= {0.001S to 500S}
<stop frequency> :={ the same with basic wave frequency}
<start frequency> :={ the same with basic wave frequency}
<trigger src>:= {EXT,INT,MAN}
<trigger mode>:= {ON,OFF}
<sweep way>:= {LINE,LOG}
<direction>:= {UP,DOWN}
<edge>:={ON, OFF}
<wave type>:={SINE ,SQUARE, RAMP, ARB}
<frequency>:= { Default unit is "HZ". Minimum value is
1xe-6 HZ, maximal value depends on the version.}
<amplifier>:={Default unit is "V". Channel one
minimum value 0.004V, Maximal is 6V. Channel two minimum
value 0.004V, Maximal is 20V. }
<offset>:={ Default unit is "V". maximal value depends on
Parameters Value Description
STATE <state> Turn on or off burst wave. Note if you
want set or read burst wave other
parameter you must turn on the state
first.
PRD <period> When carrier wave is NOISE wave, you
can’t set it. When GATE was chosen, you
can’t set it. And only trig source is
IN, you can set it.
STPS <start phase>When carrier wave is NOISE or PULSE
wave, you can’t set it.
GATE_NCYC <gate ncycle>When carrier wave is NOISE, you can’t
set it.
TRSR <trigger> When carrier wave is NOISE wave, you
can’t set it. When NCYC was chosen you
can set it.
DLAY <delay> When carrier wave is NOISE wave, you
can’t set it. When NCYC was chosen you
can’t set it.
PLRT <polarity> When GATE was chosen you can set it.
When carrier wave is NOISE, it is the
only parameter.
TRMD <trig mode> When carrier wave is NOISE wave, you
can’t set it. When NCYC was chosen you
can set it. When TRSR is set to EXT, you
can’t set is.
EDGE <edge> When carrier wave is NOISE wave, you
can’t set it. When NCYC was chosen and
TRSR is set to EXT, you can set it.
TIME <circle time>When carrier wave is NOISE wave, you
can’t set it. When NCYC was chosen you
can set it.
18
SDG1000 Programming Manual
MTRIG When TRSR’s parameter be chosen to MAN,
that it can be set.
CARR,WVTP <wave type> Value of carrier wave type.
CARR,FRQ <frequency> Value of frequency.
CARR,AMP <amplifier> Value of amplifier.
CARR,OFST <offset> Value of offset.
CARR,SYM <symmetry> Value of symmetry.
CARR,DUTY <duty>
CARR,PHSE <phase> Value of phase.
CARR,DLY <carr delay>
CARR VAR <variance>
CARR MEAN <mean>
Note: If you want set CARR and STATE the first parameter have to one of them.
where: <state>:= {ON,OFF}
<period>:= { Default unit is “S ”. 1us to 500s }
<start phase>:= {0 to 360}
<gate ncycle>:= {GATE,NCYC}
<trigger>:= {EXT,INT,MAN}
<delay>:= { Default unit is "S". 0s to 500s }
<polarity>:= {NEG,POS}
<trig mode >:= {RISE,FALL,OFF}
<edge>:= { RISE,FALL}
<circle time> :={ 1cycle to 50000 cycle}
<wave type>:={SINE ,SQUARE, RAMP,PULSE,NOISE, ARB}
<frequency>:= { Default unit is "HZ". Minimum value is
1xe-6 HZ, maximal value depends on the version.}
<amplifier>:={Default unit is "V". Channel one
minimum value 0.004V, Maximal is 6V. Channel two minimum
value 0.004V, Maximal is 20V. }
<offset>:={ Default unit is "V". the maximal value depends
on the version.}
<duty>:={ If wave type is Square, range is from 20% to 80%
Value of duty cycle.
Only Square can set this parameter.
Value of carrier wave delay. Only
Carrier wave is Pusle ,the Value is
valid.
Value of carrier wave variance. Only
Carrier wave is Noise ,the Value is
valid.
Value of carrier wave mean. Only
Carrier wave is Noise ,the Value is
valid.
19
SDG1000 Programming Manual
If wave type is pulse, range is from 0.1% to 99.9%}
<symmetry>:={ 0% to 100%}
<carr delay>:= {Maximal is Pulse Period, minimum value
is 0.Unit is S.}
<variance>:={0.4mv to 666.6mv}
<mean>:={ the maximal value depends on the variance}
Parameters Value Description
STATE <state> Turn on or off frequency counter
FRQ <frequency> Input signal frequency.
DUTY <duty> Input signal duty.
TRG <trig level> Input signal trig level.
PW <positive
width>
NW <negative
width>
MODE <mode> Frequency counter mode.
DEF <default> Set configuration to default.
HFR <hfr> Turn HFR on or off
Note: if you want to use this function, you must turn on frequency counter.
You can only set the mode,def and hfr of the list,
get value
T
where: <state>:= {ON|OFF}
<frequency>:= {Input signal frequency.}
<duty>:={ Input signal duty.}
<trig level>:= { Input signal trig level.}
<positive width>:= { Input signal positive width.}
<negative width>:= { Input signal negative width.}
<mode>:={AC|DC}
<default>:= { Set configuration to default.}
<hfr>:= {ON|OFF}
<parameter>:= {a parameter from the table below. }
Parameters Value Description
WVNM <wavename> arbitrary wave name
Arbitrary wave type .Note the value have to be
TYPE <type>
LENGTH <length>
set to 5.
Arbitrary wave data Length. It have to be set to
"32KB"
FREQ <frequency> Arbitrary wave frequency. It have to be set.
AMPL <amplifier> Value of amplify. It has to be set.
OFST <offset> Value of offset. It has to be set.
PHASE <phase> Value of phase. It has to be set.
WAVEDATA <wavedata> Wave data . It has to be set.
Not: All parameters must to be set in one command. If not, command will not execute
successfully.