23
Chapter 5 Instructions of Command Sets
SOURce Subsystem:
SOURce?
SOURce:DCYCle:DECimal <numeric>
SQUare:PWIDth:DECimal <numeric>
SQUare:FREQuency <numeric>
Description Query the set the pulse output. (Only 3801-50)
The function switch is at
pulse output
.
Response
<"function amplitude,frequency, duty ratio"> format string, the
examples are as following:
Example Function
Amplitude
Frequency
duty
SQU+2.800000E+00,
+1.200000E+03,+5.000000E+01
pulse output
2.8 V
1200 Hz、
50%
Description Set the duty ratio of the
pulse output (Only 3801-50)
The function switch is at
pulse output
.
Duty ratio = numeric / 256 (Unit :%)
Parameter Value to be entered to <numeric>: 1 to 255
Example
SQU:DCYC:DEC 64: The duty ratio is 25%.
Description Set the pulse width of the
pulse output
.(Only 3801-50)
The function switch is at
pulse output
.
Pulse width = numeric / (frequency x 0.256)
Parameter Value to be entered to <numeric>: 1 to 255.
Example
SQU:PWID:DEC 64: The pulse width is approx 0.42 ms on
600 Hz.
Description Set the frequency of the
pulse output
.(Only 3801-50)
The function switch is at
pulse output
.
Parameter <numeric>: 0.5, 1, 2, 5, 10, 15, 20, 25, 30, 40, 50, 60, 75, 80,
100, 120, 150, 200, 240, 300, 400, 480, 600, 800, 1200, 1600,
2400, 4800.
The other numeric is invalid value.
Example
SQU:FREQ 600: Set the frequency at 600 Hz.