The DlnPlsCntGetResolution() function retrieves the current Pulse Counter Module resolution.
DlnPlsCntGetResolution()
DLN_RESULT DlnPlsCntGetResolution( HDLN handle, uint8_t port, uint8_t *resolution );
A handle to the DLN-series adapter.
A number of the port to be configured.
A pointer to an unsigned 8-bit integer that receives the resolution value.
The function successfully retrieved the Pulse counter module resolution.
The port number is not valid. Use the DlnPlsCntGetPortCount() function to find the maximum possible port number.
The DlnPlsCntGetResolution() function is defined in the dln_pls_cnt.h file.
dln_pls_cnt.h