# GetAIInfo()

Returns the channel number and unit value of each analog input channel logged in a binary file.

Member of the DataLogger class.

## Function Prototype

VB .NET

Public Function GetAIInfo(ByRef channelNumbers As Integer, ByRef units As MccDaq.LoggerUnits, As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetAIInfo(ref int channelNumbers, ref MccDaq.LoggerUnits units)

## Parameter

channelNumbers

An array that contains the analog input channel numbers logged in the file.

units

An array that contains the unit values set by the device in InstaCal for each analog input channel logged in the file.

The units settings are MccDaq.LoggerUnits enumerated constants. Choices are MccDaq.LoggerUnits.Temperature, and MccDaq.LoggerUnits.Raw.

## Returns

- An ErrorInfo object that indicates the status of the operation.
- channelNumbers – Returns the analog input channel numbers logged in the binary file.
- units – Returns the unit values set by the device in InstaCal for each analog input channel logged in the binary file (MccDaq.LoggerUnits.Temperature or MccDaq.LoggerUnits.Raw.)