beautypg.com

Digilent WaveForms User Manual

Page 20

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

ACQMODE Constants

FUNC Constant Capabilities

acqmodeSingle

Perform a single buffer acquisition. This is the default setting.

acqmodeScanShift

Perform a continuous acquisition in FIFO style. The trigger setting is ignored.
The last sample is at the end of buffer. The
FDwfAnalogInStatusSamplesValid function is used to show the
number of the acquired samples, which will grow until reaching the
BufferSize. Then the waveform “picture” is shifted for every new sample.

acqmodeScanScreen

Perform continuous acquisition circularly writing samples into the buffer.
The trigger setting is ignored. The IndexWrite shows the buffer write
position. This is similar to a heart monitor display.

acqmodeRecord

Perform acquisition for length of time set by
FDwfAnalogInRecordLengthSet.




FDwfAnalogInAcquisitionModeSet
(HDWF hdwf, ACQMODE acqmode)

Parameters:
-

hdwf – Interface handle.

-

acqmode – Acquisition mode to set.

The function above is used to set the acquisition mode.


FDwfAnalogInAcquisitionModeGet
(HDWF hdwf, ACQMODE *pacqmode)

Parameters:
-

hdwf – Interface handle.

-

pacqmode – Variable to receive the current acquisition mode.

The function above is used to get retrieve the acquisition mode.