Digilent WaveForms User Manual
Page 62
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 62 of 85
FDwfDigitalInDividerSet(HDWF hdwf,
unsigned
int
div)
Parameters:
-
hdwf – Interface handle.
-
div – Divider value.
The function above is used to set the clock divider value.
FDwfDigitalInDividerGet(HDWF hdwf,
unsigned
int
*pdiv)
Parameters:
-
hdwf – Interface handle.
-
pdiv –Pointer to return configured value.
The function above is used to get the configured clock divider value.
FDwfDigitalInBitsInfo(HDWF hdwf,
int
*pnBits)
Parameters:
-
hdwf – Interface handle.
-
pnBits – Pointer to variable to return the number of bits.
The function above returns the number of Digital In bits.
FDwfDigitalInSampleFormatSet(HDWF hdwf,
int
nBits)
Parameters:
-
hdwf – Interface handle.
-
nBits – Sample format.
The function above is used to set the sample format, the number of bits starting from least significant bit. Valid
options are 8, 16, and 32.
FDwfDigitalInSampleFormatGet(HDWF hdwf,
int
*pnBits)
Parameters:
-
hdwf –Interface handle.
-
pnBits –Pointer to return configured value.
The function above is used to return the configured sample format.