DlnAdcGetPortCount() Function

The DlnAdcGetPortCount() function retrieves the number of ADC ports available in your DLN-series adapter. This function is defined in the dln_adc.h file.

Syntax
C/C++
DLN_RESULT DlnAdcGetPortCount(
    HDLN handle,
    uint8_t* count
);
Parameters
handle

A handle to the DLN-series adapter.

count

A pointer to an unsigned 8-bit integer. The integer will be filled with the number of available ADC ports after the function execution.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.