User manual

RIGOL Chapter 3 Programming Examples
3-8 MSO7000/DS7000 Programming Guide
6. 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. The
length of the waveform data points is described in ASCII character, and the terminator represents the
ending of the communication. For example, for #9000001000XXXX, 9 bytes are used to describe the
length of the data, 000001000 represents the length of the waveform data (namely 1000 bytes). Use
the following block diagram to obtain the number of bytes that the TMC header occupies. Ignore the
TMC header and delete the terminator at the end of the waveform data, and transfer the waveform
data to the byte data and display it on the waveform diagram controls.
The available functions used in the above block diagram as as follows:
Used to obtain the TMC header"#N". After obtaining the number of bytes that the TMC header occupies,
ignore the data header to obtain the waveform data strings.