6 analog out (arbitrary waveform generator), Analog out (arbitrary waveform generator), 6analog out (arbitrary waveform generator) – Digilent WaveForms User Manual

Page 34

Advertising
background image

WaveForms™ SDK Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 34 of 85

6

Analog Out (Arbitrary Waveform Generator)

The Analog Out instrument states:

The states are defined in dwf.h DwfState type.
-

Ready: Initial state. After FDwfAnalogOutConfigure or any FDwfAnalogOut*Set function call goes to this state.
With digital out, configure start command goes to Armed state.

-

Armed: It waits for trigger.

-

Wait: Remains in this state for the time period specified by FDwfAnalogOutWaitSet function.

-

Running: Remains in this state for the time period specified by FDwfAnalogOutRunSet function.

-

Repeat: Goes to Armed or Wait state according to the FDwfAnalogOutRepeatTriggerSet setting for the
number of times specified by FDwfAnalogOutRepeatSet.

-

Done: Final state.


The analog out channels can run independently or synchronized using the master parameter. The states are
defined by trigger, wait, run, and repeat options. It is enough to start with FDwfAnalogOutConfigure (the master
channel) the slave channels will also start.

See the following examples: AnalogOut_Sine/Sweep/Custom/Sync.py AnalogOutIn.py

Trigger?

Start?

Ready

Armed

Wait

Running

Repeat

Done

Instrument configuration or setting

Analog Out 2

Analog Out 1

States

Generator

Ma
ster

States

Generator

Ma
st

er

...

...

...

Advertising