beautypg.com

To set the output data length, To set the output data length -35 – RIGOL DG5000 Series User Manual

Page 185

background image

Chapter 10 Advanced Operation

RIGOL

User’s Guide for DG5000

10-35

To Set the Output Data Length


Press Length and use the knob or the number keypad to set the output data length.

Output data length under different protocol has different upper limit. If the current
output is user code pattern, the sum of the output data length and the user offset
cannot exceed the upper limit of the user space as well as the upper limit of the
protocol output. The upper limit of the user space is 262144 Bytes; the upper limit of
RS232 protocol is 35840 Bytes; the upper limit of SPI protocol is 40960 Bytes; the
upper limit of IIC protocol is 10240 Bytes and the upper limit of PO protocol is 131072
Byte.

As RS232, SPI and IIC are serial communication protocols, only one data output
channel can be selected each time. Therefore, when the output data length is 1Byte,
the single channel outputs 8bits of data. However, PO is parallel communication
protocol and 16 channels can be selected to output at the same time, at this point, if
the output data length is 2Bytes, each channel only outputs 1bit of the data with the
total as 16bits namely 2Bytes.

Note: When using SPI protocol, if the output data length set is not a natural multiple
of “#Data”, the output uses zero padding mode. For example, if “Data per Frame” is
set to 3Byte and output data length is set to 5Byte, 0 are added to add the data to
6Byte (2 frames) during output.