RIGOL 2 Command System
2-134 DS2000E Programming Guide
:MASK:RESet
Syntax
:MASK:RESet
Description
Reset the number of passed frames, the number of failed frames and the total number of frames.
Explanation
After this command is sent, the number of passed frames, the number of failed frames and the total
number of frames are all set to 0.
To query the number of passed frames, refer to the
:MASK:PASSed? command.
To query the number of failed frames, refer to the
:MASK:FAILed? command.
To query the total number of frames of the test, refer to the
:MASK:TOTal? command.
:MASK:DATA
Syntax
:MASK:DATA <mask>
:MASK:DATA?
Description
Send or read the mask of the pass/fail test.
Parameter
Name Type Range Default
<mask> Refer to Explanation
Explanation
<mask> is binary data block. Directly place the data stream behind the command string to finish the
sending in one operation.
Make sure that the buffer is large enough to receive the data stream; otherwise the program might
be abnormal when reading the data.
Return Format
The data returned consists of two parts (the TMC data description header and the MASK data). The
format of the TMC data description header is #NX…X; wherein, # is the denoter, N is less than or equal to
9 and the N figures following it denotes the length of the data stream in bytes. For example,
#9000001408; wherein, N is 9, and 000001408 denotes that the data strem contains 1408 bytes of
effective data. The MASK data is denoted in ASCII format.