RIGOL
DG900 Programming Guide
2-67
Return Format
The query returns ON or OFF.
Example
:FREQ:COUP ON /*Enables the frequency coupling function.*/
:FREQ:COUP? /*Queries the on/off status of the frequency coupling function and the query returns
ON.*/
[:SOURce[<n>]]:FREQuency[:FIXed]
Syntax
[:SOURce[<n>]]:FREQuency[:FIXed] {<frequency>|MINimum|MAXimum}
[:SOURce[<n>]]:FREQuency[:FIXed]? [MINimum|MAXimum]
Description
Sets the frequency of the waveform of the specified channel.
Queries the frequency of the waveform of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<frequency>
Real
Refer to Table 2-1
1 kHz
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
If the frequency value in the command is greater than the corresponding frequency upper limit or
smaller than the corresponding frequency lower limit, the waveform frequency of the specified channel
will be set to the frequency upper limit or lower limit.
When the waveform type of the specified channel is changed, the instrument still uses the frequency if
the frequency is valid for the new waveform type; the instrument will display a prompt message and
set the frequency to the frequency upper limit of the new waveform type automatically if the frequency
is invalid for the new waveform type.
Return Format
The query returns the waveform frequency in scientific notation, with 7 effective digits. For example,
1.02 (the waveform frequency is 100 Hz).
Example
:SOUR1:FREQ 100 /*Sets the waveform frequency of CH1 to 100 Hz.*/
:SOUR1:FREQ? /*Queries the waveform frequency of CH1 and the query returns 1.02.*/
[:SOURce[<n>]]:FREQuency:SPAN
Syntax
[:SOURce[<n>]]:FREQuency:SPAN {<frequency>|MINimum|MAXimum}
[:SOURce[<n>]]:FREQuency:SPAN? [MINimum|MAXimum]
Description
Sets the frequency span of the sweep function of the specified channel.
Queries the frequency span of the sweep function of the specified channel.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......