Owner manual

WaveForms™ SDK Reference Manual
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
Master
States
Generator
Master
...
...
...