Source[]]:harmonic:user – RIGOL DG1000Z Series User Manual
Page 126

RIGOL
2-114
DG1000Z Programming Guide
[:SOURce[
Syntax
[:SOURce[
[:SOURce[
Description
Set the user-defined harmonic output of the specified channel.
Query the user-defined harmonic output of the specified channel.
Parameter
Name
Type
Range
Default
[
Discrete
1|2
1
ASCII string
X0000000 to X11111111
X0000000
Explanation
In the user-defined harmonic (
), users can
define the orders of the harmonics to be outputted and the highest order is 8.
The output states of the 8 orders of harmonics are represented by 8-bit binary
data. The leftmost bit represents the fundamental waveform; it is fixed at X and
cannot be modified. The rest 7 bits correspond to the second order of harmonic
to the eighth order of harmonic from left to right. 1 denotes turning on the output
of the corresponding order of harmonic, 0 denotes turning off the output of the
corresponding order of harmonic. For example, set the 8-bit data to X001 0001
which denotes outputting the fundamental waveform, forth order of harmonic
and eighth order of harmonic.
When [:SOURce[
parameters of CH1 by default.
Return Format
The query returns a string between X0000000 and X11111111. For example,
X0010001.
Example
:SOUR1:HARM:USER X0010001 /*Set the user-defined harmonic of CH1 to output
the fundamental waveform, forth order of
harmonic and eighth order of harmonic*/
:SOUR1:HARM:USER? /*Query the user-defined harmonic output of CH1
and the query returns X0010001*/
Related
Command