# cbLogGetAIChannelCount()

Returns the total number of analog input channels logged in a binary file.

## Function Prototype

C/C++

int cbLogGetAIChannelCount(char* Filename, int* AICount)

Visual Basic

Function cbLogGetAIChannelCount(ByVal Filename$, ByRef AICount&) As Long

## Arguments

Filename

The name of the file to retrieve the information from.

AICount

The number of analog input channels logged in the binary file.

## Returns

- Error code or 0 if no errors
- AICount – Returns the number of analog input channels logged in the binary file.