5 analog in (oscilloscope), Analog in (oscilloscope), Control – Digilent WaveForms User Manual

Page 14: 5analog in (oscilloscope)

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

5

Analog In (Oscilloscope)

The Analog In instrument states:

The states are defined in dwf.h DwfState type.

-

Ready: Initial state. After FDwfAnalogInConfigure or any FDwfAnalogIn*Set function call goes to this state.
With FDwfAnalogInConfigure, reconfigure goes to Configure state.

-

Configure: The needed configurations are performed and auto trigger is reset.

-

Prefill: Prefills the buffer with samples needed before trigger.

-

Armed: Waits for the trigger.

-

Running:

o Single acquisition mode: remains in this state to acquire samples after trigger according trigger

position parameter.

o Scan screen and shift modes: remains in this state until configure or any set function of this

instrument.

o Record mode: the time period according record length parameter.

-

Done: Final state.


See the following examples: AnalogIn_Sample/Acquisition/Trigger/Record.py AnalogOutIn.py


5.1

Control

FDwfAnalogInReset(HDWF hdwf)

Parameters:
-

hdwf – Interface handle.

The function above resets and configures (by default, having auto configure enabled) all AnalogIn instrument
parameters to default values.

Start?

Reconfigure?

Trigger?

Start?

Ready

Armed

Running

Done

Instrument configuration or setting

Prefill

Configure

Advertising