Instructions
RIGOL  Chapter 2 Command System 
2-136    MSO5000 Programming Guide 
[:SOURce[<n>]]:PHASe:INITiate 
Syntax 
[:SOURce[<n>]]:PHASe:INITiate 
Description 
Performs the "align phase" operation. 
Parameter 
Name 
Type 
Range 
Default 
[<n>] 
Discrete 
{1|2} 
When omitted, by default, the operations are 
carried out on GI. 
Remarks 
When you perform the "align phase" operation, the instrument will re-configure the 
two channels to output according to the preset frequency and phase. 
For two signals whose frequencies are the same or in multiple relationship, this 
operation can align their phases. Assume that 1 kHz, 5 Vpp, 0° sine waveforms are 
output on GI, and 1 kHz, 5Vpp, 180° sine waveforms are output on GII. Use the 
oscilloscope to acquire the waveforms of the two channels and stably display the 
waveforms. It can be found that the phase deviation between the two waveforms is no 
longer 180°. At this time, perform the "align phase" operations and then the 
waveforms has a phase deviation of 180°. You do not need to adjust the start phase of 
the function/arbitrary waveform generator manually. 
[:SOURce[<n>]]:FUNCtion[:SHAPe] 
Syntax 
[:SOURce[<n>]]:FUNCtion[:SHAPe] <wave> 
[:SOURce[<n>]]:FUNCtion[:SHAPe]? 
Description 
If modulation is not enabled for the specified function/arbitrary waveform generator 
channel, this command is used to select or query the output signal waveform. If 
modulation is enabled for the specified function/arbitrary waveform generator 
channel, this command is used to select or query the modulated carrier waveform. At 
this time, if you select PULSe, NOISe, or DC, the modulation function is automatically 
disabled. 
Parameter 
Name 
Type 
Range 
Default 
[<n>] 
Discrete 
{1|2} 
When omitted, by default, the operations are 
carried out on GI. 
<wave> 
Discrete 
{SINusoid|S
QUare|RAMP
|PULSe|NOIS
e|DC|SINC|E
XPRise|EXPF
all|ECG|GAU
Ss|LORentz|
HAVersine|A
RBitrary} 
SINusoid 
Remarks 
The MSO5000 series provides 7 kinds of built-in waveforms, including Sinc, ExpRise, 
ExpFall, ECG, Gauss, Lorentz, and Haversine. 
Return 
Format 
The query returns SIN, SQU, RAMP, PULS, NOIS, DC, SINC, EXPR, EXPF, ECG, GAUS, 
LOR, HAV, or ARB. 
Example 
:FUNCtion SQUare        /*Sets the waveforms output from GI to SQUare.*/ 
:FUNCtion?                    /*The query returns SQU.*/ 










