# GetAIChannelCount()

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

Member of the DataLogger class.

## Function Prototype

VB .NET

Public Function GetAIChannelCount(ByRef aiCount As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetAIChannelCount(ref int aiCount)

## Parameter

aiCount

The number of analog input channels logged in the file.

## Returns

- An ErrorInfo object that indicates the status of the operation.
- aiCount – Returns the number of analog input channels logged in the binary file.