# BoardConfig.GetAIMode() method

Returns the A/D channel input mode.

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

## Function Prototype

VB .NET

Public Function GetAIMode(ByRef AInputMode As MccDaq.AInputMode) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetAIMode(out MccDaq.AInputMode inputMode)

## Parameters

inputMode

Returns the current channel input mode set for the A/D channels. The inputMode setting is an MccDaq.AInputMode enumerated constant, and is set using the AInputMode() method. Valid values are single-ended or differential.

## Returns

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