Owner manual

WaveForms™ SDK Reference Manual
Page 78 of 85
FDwfDigitalOutDividerSet(HDWF hdwf, int idxChannel, unsigned int v)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- v Divider value.
The function above sets the divider value of the specified channel.
FDwfDigitalOutDividerGet(HDWF hdwf, int idxChannel, unsigned int *pv)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- pv Pointer to variable to receive configured value.
The function above is used to verify the divider value of the specified channel.
FDwfDigitalOutCounterInfo(
HDWF hdwf, int idxChannel, unsigned int *vMin, unsigned int *vMax)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- pnMin Variable to receive the supported minimum counter value.
- pnMax Variable to receive the supported maximum counter value.
The function above is used to return the supported counter value range.
FDwfDigitalOutCounterInitSet(
HDWF hdwf, int idxChannel, BOOL fHigh, unsigned int v)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- fHigh Start high.
- v Divider initial value.
The function above sets the initial state and counter value of the specified channel.
FDwfDigitalOutCounterInitGet(
HDWF hdwf, int idxChannel, int *pfHigh, unsigned int *pv)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- pfHigh Pointer to variable to receive configured value.
- pv Pointer to variable to receive configured value.
The function above is used to verify the initial state and counter value of the specified channel.