20.01.2015 Views

Programming Guide DS2000 Series Digital Oscilloscope

Programming Guide DS2000 Series Digital Oscilloscope

Programming Guide DS2000 Series Digital Oscilloscope

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Command System RIGOL<br />

:MASK:DATA<br />

Syntax<br />

:MASK:DATA <br />

:MASK:DATA<br />

Description<br />

Send or read the mask of the pass/fail test. is binary data block.<br />

Explanation<br />

When sending the command, directly place the data stream behind the command<br />

string to finish the sending in one operation.<br />

When reading (:MASK:DATA), the data read consists of two parts (the TMC data<br />

description header and the MASK data). The format of the TMC data description<br />

header is #NXXXXXX; wherein, # is the denoter, N is less than or equal to 9 and the<br />

N figures following it denotes the length of the data stream in bytes. For example,<br />

#9000001408; wherein, N is 9 and 000001408 denotes that the data strem contains<br />

1408 bytes of effective data. The MASK data is denoted in ASCII format.<br />

Make sure that the buffer is large enough to receive the data stream, otherwise the<br />

program might be abnormal during the reading.<br />

<strong>DS2000</strong> <strong>Programming</strong> <strong>Guide</strong> 2-245

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!