Specifications

2 Command System RIGOL
DS2000 Programming Guide
2-245
:MASK:DATA
Syntax
:MASK:DATA <mask>
:MASK:DATA?
Description
Send or read the mask of the pass/fail test. <mask> is binary data block.
Explanation
When sending the command, directly place the data stream behind the command
string to finish the sending in one operation.
When reading (:MASK:DATA?), the data read consists of two parts (the TMC data
description header and the MASK data). The format of the TMC data description
header is #NXXXXXX; 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.
Make sure that the buffer is large enough to receive the data stream, otherwise the
program might be abnormal during the reading.