beautypg.com

Source[1|2]:function user, Data:dac – GW Instek AFG-2225 User Manual User Manual

Page 261

background image

REMOTE INTERFACE

261

SOURce[1|2]:FUNCtion USER

Source Specific
Command

Description

Use the SOURce[1|2]:FUNCtion USER command
to output the arbitrary waveform currently
selected in memory. The waveform is output with
the current frequency, amplitude and offset
settings.

Syntax

SOURce[1|2]:FUNCtion USER

Example

SOUR1:FUNC USER

Selects and outputs the current waveform in
memory.

DATA:DAC

Source Specific
Command

Description

The DATA:DAC command is used to download
binary or decimal integer values into memory
using the IEEE-488.2 binary block format or as an
ordered list of values.

Note

The integer values (±511) correspond to the
maximum and minimum peak amplitudes of the
waveform. For instance, for a waveform with an
amplitude of 5Vpp (0 offset), the value 511is the
equivalent of 2.5 Volts. If the integer values do not
span the full output range, the peak amplitude will
be limited.

The IEEE-488.2 binary block format is comprised
of three parts:

# 7 2097152

2

1

3

1. Initialization character

(#)

2. Digit length (in ASCII) of

the number of bytes

3. Number of bytes

IEEE 488.2 uses two bytes to represent waveform