Source[<n>]][:trace]:data:dac – RIGOL DG1000Z Series User Manual

Page 186

Advertising
background image

RIGOL

Chapter 2 Command System

2-174

DG1000Z Programming Guide

[:SOURce[<n>]][:TRACe]:DATA:DAC

Syntax

[:SOURce[<n>]][:TRACe]:DATA:DAC

VOLATILE,[<binary_block_data>|<value>,<value>,<value>......]

Description

Download the binary data block or decimal DAC values to the volatile memory of the

specified channel.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2

1

<binary_block_data>

ASCII string

Refer to the “Explanation”

None

<value>

Explanation

 When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters

of CH1 by default.

 <binary_block_data> is the binary data to be downloaded, the length of the data is

8pts (16Bytes) to 16kpts (32kBytes). It is a binary data block start with #. For

example, #516384 binary data, the number 5 behind # denotes that the data length

information (16384) occupies 5 characters; 16384 denotes the number of bytes of

the binary data following it. The range of each binary data is from 0000 to 3FFF.

Each waveform point occupies 2 bytes, therefore the number of bytes must be an

even number.

 <value>,<value>,<value>...denotes the decimal DAC values to be downloaded and

the length of the data is 8pts (16Bytes) to 16kpts (32kBytes). The range of the

<value> is from 0 to 16383. For example, sending VOLATILE,0,16383,8192,0,16383

command denotes sending 5 data points of which the decimal DAC values are 0,

16383, 8192, 0 and 16383 respectively.

 When the number of data points in the command is between 8pts and 8kpts (include

8kpts), if the instrument is currently in the frequency output mode, the instrument

will extend the number of data points to 8192 automatically using the average

interpolation mode; if the instrument is in the sample rate output mode, the number

of data points remains unchanged.

 When the number of data points in the command is between 8kpts (not include

8kpts) and 16kpts, the instrument will select the sample rate output mode

automatically and the number of data points remains unchanged.

 After sending the command, the instrument switches the specified channel to

output volatile waveform automatically and modifies the number of editable points

at the same time. You can edit the data sent using this command in local mode.

Advertising