10 digital out (pattern generator), Digital out (pattern generator) – Digilent WaveForms User Manual

Page 68

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 68 of 85

10 Digital Out (Pattern Generator)

The DigitalOut instrument states:



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

Ready: Initial state. After FDwfDigitalOutConfigure or any FDwfDigitalOut*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 FDwfDigitalOutWaitSet function.

-

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

-

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

-

Done: Final state.

This states machine controls all digital out channels.

See the following examples: DigitalOut_BinaryCounter/Pins.py

Trigger?

Start?

Ready

Armed

Wait

Running

Repeat

Done

Instrument configuration or setting

Advertising