User manual

Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-141
[:SOURce[<n>]]:VOLTage[:LEVel][:IMMediate]:OFFSet
Syntax
[:SOURce[<n>]]:VOLTage[:LEVel] [:IMMediate]:OFFSet <offset>
[:SOURce[<n>]]:VOLTage[:LEVel] [:IMMediate]:OFFSet?
Description
Sets or query the DC offset of the signal output from the specified function/arbitrary
waveform generator channel. By default, the unit is V
DC
.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
{1|2}
When omitted, by default, the
operations are carried out on GI.
<offset>
Real
Related to the current
input impedance and
amplitude
HighZ: (-2.5V +
current amplitude/2) to
(2.5V - current
amplitude/2)
50Ω: (-1.25V + current
amplitude/2) to (1.25V
- current amplitude/2)
0 V
DC
Remarks
Send the [:SOURce[<n>]]:OUTPut[<n>]:IMPedance command to set the input
impedance.
Send the [:SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] command to
set the current amplitude.
Return
Format
The query returns the DC offset in scientific notation.
Example
:VOLTage:OFFSet 0.5 /*Sets the DC offset of GI to 500 mV
DC
.*/
:VOLTage:OFFSet? /*The query returns 5.0000000E-1.*/
[:SOURce[<n>]]:PULSe:DCYCle
Syntax
[:SOURce[<n>]]:PULSe:DCYCle <percent>
[:SOURce[<n>]]:PULSe:DCYCle?
Description
Sets or queries the duty cycle of the pulse output from the specified function/arbitrary
waveform generator channel, i.g. the ratio of high level to a pulse period.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
{1|2}
When omitted, by default, the
operations are carried out on GI.
<percent>
Real
10 to 90
20
Remarks
Duty cycle is defined as the percentage that the high level takes up in the whole pulse
period.
T
t
Duty Cycle=t/T*100%