User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-73
:FUNCtion:WRECord:OPERate
Syntax :FUNCtion:WRECord:OPERate <opt>
:FUNCtion:WRECord:OPERate?
Description Start or stop the waveform recording, or query the status of the waveform recording.
Parameter
Name Type Range Default
<opt>
Discrete
{RUN|STOP}
--
Explanation Before sending this command, send the :FUNCtion:WRECord:ENABle command to turn
on the waveform recording function. Otherwise, this command is invalid.
Return
Format
The query returns RUN or STOP.
Example
:FUNCtion:WRECord:OPERate RUN /*Start the waveform recording*/
:FUNCtion:WRECord:OPERate?
/*The query returns RUN if the recording is in
progress and returns STOP if the recording has
already finished*/
:FUNCtion:WRECord:ENABle
Syntax :FUNCtion:WRECord:ENABle <bool>
:FUNCtion:WRECord:ENABle?
Description Turn on or off the waveform recording function, or query the status of the waveform
recording function.
Parameter
Name Type Range Default
<bool> Bool {{1|ON}|{0|OFF}} 0|OFF
Explanation The waveform recording function can only be enabled when the horizontal timebase
mode is "YT" and the horizontal timebase is lower than 200ms.
After turning on the waveform recording function, RUN/STOP can be used to start
or stop the waveform recording. At this point, you can send
the :FUNCtion:WRECord:OPERate command to start the recording.
Return
Format
The query returns 1 or 0.
Example
:FUNCtion:WRECord:ENABle 1 /*Turn on the waveform recording function*/
:FUNCtion:WRECord:ENABle? /*The query returns 1*/