User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-133
[:SOURce[<n>]]:PHASe:INITiate
Syntax
[:SOURce[<n>]]:PHASe:INITiate
Description
Execute the align phase operation.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the
operation is performed
on source 1 by default
Explanation When the align phase operation is performed, the instrument re-configures the two
channels to make them output with the specified frequency and phase.
For two signals whose frequencies are the same or in multiple, this operation will align
their phases. For example, assume Source1 output a 1kHz, 5Vpp, 0° sine waveform and
Source2 outputs a 1kHz, 5Vpp, 180° sine waveform. Sample the two waveforms using
another oscilloscope and display them stably; you will see that the waveforms shown on
the oscilloscope do not always have a phase deviation of 180°. At this point, execute the
align phase operation and the waveforms shown on the oscilloscope will have a phase
deviation of 180° without any manual adjustment of the start phase of the generator.
Before Aligning Phase After Aligning Phase
[:SOURce[<n>]]:FUNCtion[:SHAPe]
Syntax [:SOURce[<n>]]:FUNCtion[:SHAPe] <wave>
[:SOURce[<n>]]:FUNCtion[:SHAPe]?
Description Select or query the output waveform when the modulation of the specified source channel
is not enabled. Select or query the carrier waveform when the modulation is enabled. At
this point, if PULSe, NOISe or DC is selected, the modulation will turn off automatically.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the
operation is performed
on source 1 by default
<wave> Discrete
{SINusoid|SQUare|RAMP|PULSe|
NOISe|DC|EXTernal||SINC|EXPRise|
EXPFall|ECG|GAUSs|LORentz|
HAVersine}
SINusoid
Explanation EXTernal: arbitrary waveform
MSO1000Z/DS1000Z provides 7 built-in waveforms: Sinc, Exp.Rise, Exp.Fall, ECG,
Gauss, Lorentz, and Haversine
Return
Format
The query returns SIN, SQU, RAMP, PULS, NOIS, DC, EXT, SINC, EXPR, EXPF, ECG, GAUS,
LOR, or HAV.
Example :FUNCtion SQUare /*Set the output waveform of source 1 to square*/
:FUNCtion? /*The query returns SQU*/