# BoardConfig.GetAIChanType() method

Returns the analog input channel type for a specified channel. This method is for use with devices that have configurable input types.

Member of the cBoardConfig class. Accessible from the MccBoard.BoardConfig property.

## Function Prototype

VB .NET

Public Function GetAIChanType(ByRef chan As Integer, ByRef chanType As MccDaq.AIChanType) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetAIChanType(int chan, out AIChanType chanType)

## Parameters

chan

Returns the channel number.

chanType

Returns the input channel type.

## Returns

- An ErrorInfo object that indicates the status of the operation.