# cbLogGetDIOInfo()

Returns the number of digital I/O channels logged in a binary file.

## Function Prototype

C/C++

int cbLogGetDIOInfo(char* Filename, int* DIOCount)

Visual Basic

Function cbLogGetDIOInfo(ByVal Filename$, ByRef DIOChannelCount&) As Long

## Arguments

Filename

The name of the file to retrieve the information from.

DIOCount

The number of digital I/O channels logged in the binary file.

## Returns

- Error code or 0 if no errors
- DIOCount – Returns the number of digital I/O channels logged in the binary file.