Specifications

3 Programming Demos RIGOL
DS2000 Programming Guide
3-15
5. The data format is TMC header + waveform data points + terminator. The TMC
header is in #NXXXXXX format, wherein, # is the TMC header denoter, N
represents that there are N bytes following which describes the length of the
waveform data points in ASCII character, 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.
To get the length of the effective waveform data.
6. Convert the character data into array format using the String To Byte Array,
namely displaying the waveform data on the Waveform Graph control and
then remove the TMC data header using the Array Subset function.