Digilent WaveForms User Manual
Page 19
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 19 of 85
FDwfAnalogInBufferSizeSet(HDWF hdwf,
int
nSize)
Parameters:
-
hdwf – Interface handle.
-
nSize – Buffer size to set.
The function above is used to adjust the AnalogIn instrument buffer size.
FDwfAnalogInBufferSizeGet(HDWF hdwf,
int
*pnSize)
Parameters:
-
hdwf – Interface handle.
-
pnSize – Variable to receive the current buffer size.
The function above returns the used AnalogIn instrument buffer size.
FDwfAnalogInNoiseSizeInfo(HDWF hdwf,
int
*pnSizeMax)
Parameters:
-
hdwf – Interface handle.
-
pnMax – Pointer to return the maximum noise buffer size.
The function above returns the maximum buffer size for the instrument.
FDwfAnalogInNoiseSizeGet(HDWF hdwf,
int
*pnSize)
Parameters:
-
hdwf – Interface handle.
-
pnSize – Variable to receive the current noise buffer size.
The function above returns the used AnalogIn instrument noise buffer size. This is automatically adjusted
according the sample buffer size. For instance, having maximum buffer size of 8192 and noise buffer size of 512,
setting the sample buffer size to 4096 the noise buffer size will be 256.
FDwfAnalogInAcquisitionModeInfo(HDWF hdwf,
int *
pfsacqmode)
Parameters:
-
hdwf – Interface handle.
-
pfsacqmode – Pointer to return the supported acquisition modes.
The function above returns the supported AnalogIn acquisition modes. They are returned (by reference) as a bit
field. This bit field can be parsed using the IsBitSet Macro. Individual bits are defined using the ACQMODE
constants in dwf.h. The acquisition mode selects one of the following modes, ACQMODE: