[:Trace<N>]:Data:dac - Rigol MSO2000A Series Programming Manual

Digital oscilloscope
Hide thumbs Also See for MSO2000A Series:
Table of Contents

Advertisement

2 Command System
[:TRACe<n>]:DATA:DAC
Syntax
[:TRACe<n>]:DATA:DAC VOLATILE, {<binary_block_data>|<value>,<value>[,<value>[,<value>...]]}
Description
Download binary data block or decimal DAC values to the volatile memory of the built-in signal source.
Parameter
Name
<binary_block_data>
<value>
<n>
Explanation
This command downloads arbitrary waveform data via the following two ways.
<binary_block_data> is the binary data to be downloaded. The range is from 0000 to 3FFF. The data
length is from 4Bytes (2points) to 32768Bytes (16kpoints). The binary data block starts with #. For
example, send the command :DATA:DAC VOLATILE,#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. As each waveform point occupies two
butes, the number of bytes must be an even number.
The same as the [:TRACe<n>]:DATA VOLATILE command.
<value>,<value>,<value>... denotes the decimal DAC values to be downloaded. If # is not used,
you can send the decimal DAC values in string form. You can use the formula "(amplitude value
currently set/16384)×<value>" to calculate the amplitude corresponding to each point. 0 and 16383
correspond to the minimum and maximum of the amplitude respectively. For example, when the
maximum amplitude is 5Vpp, 0 correspond to -2.5V and 16383 correspond to 2.5V.
For example, 5 data points are sent by the :DATA:DAC VOLATILE,0,16383,8192,0,16383
command. For data contains less than 16384 points, the instrument will automatically extend it to
16384 points using linear interpolation.
After sending this command, the current source channel switches to volatile waveform output
automatically. While at the same time, the interpolation mode and number of editable points are
modified. Users can edit the data downloaded using this command on the instrument.
Example
:DATA:DAC VOLATILE,0,16383,8192,0,16383
MSO2000A/DS2000A Programming Guide
Type
Range
Refer to the Explanation
Integer
0 to 16383
Discrete
{1|2}
Default
--
--
1
RIGOL
2-261

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents