Source:apply commands, Source[]]:apply, Source:apply commands -72 – RIGOL DG1000Z Series User Manual
Page 84

RIGOL
2-72
DG1000Z Programming Guide
:SOURce:APPLy Commands
[:SOURce[
Syntax
[:SOURce[
Description
Query the waveform type as well as the frequency, amplitude, offset and phase of the
specified channel.
Parameter
Name
Type
Range
Default
[
Discrete
1|2
1
Explanation
When [:SOURce[
parameters of CH1 by default.
The channel waveform types and the corresponding returned waveform names
are as shown in the table below.
Sine
Square
Ramp
Pulse
Noise
Arbitrary Waveform
DC
Except DC
SIN
SQU
RAMP
PULSE
NOISE
DC
USER
Return Format
The query returns a string enclosed in double quotation marks. The return value
consists of 5 parts separated by commas; wherein, the first part is the waveform
name of the specified channel and the rest 4 parts are the frequency, amplitude,
offset and phase (in scientific notation form with 7 effective digits and the default
units are Hz, Vpp, V
DC
and ° respectively; the absent item is replaced by DEF) of the
waveform of the specified channel respectively. For example,
"SQU,1.000000E+03,2.000000E+00,3.000000E+00,4.000000E+00" which denotes
that the current waveform is square, the frequency is 1kHz, the amplitude is 2Vpp, the
offset is 3V
DC
and the start phase is 4°.
Example
SOUR1:APPL? /*Query the waveform type as well as the frequency, amplitude,
offset and phase of CH1 and the query returns
"SQU,1.000000E+03,2.000000E+00,3.000000E+00,4.000000E+0
0"*/