3 Programming Demos RIGOL
DS2000E Programming Guide
6. The data format is TMC header + waveform data points + terminator. The TMC header is in #NX…X
format; wherein, # is the TMC header denoter, N represents that the N bytes following (X…X) are
used to describe the length of the waveform data and the terminator represents the ending of the
communication. For example, for : #9000001400XXXX, 9 bytes are used to describe the length of the
data, 000001400 represents the length of the waveform data (namely 1400 bytes). Use the String
Subset and Decimal String To Number functions to get the value of N.
Get the length of the effective waveform data.
7. Convert the character data into array format using the String To Byte Array, namely display the
waveform data on the Waveform Graph control and then remove the TMC data header using the
Array Subset function.