# BoardConfig.GetNumAdChans() method

Gets the number of A/D channels.

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

## Function Prototype

VB .NET

Public Function GetNumAdChans(ByRef configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetNumAdChans(out int configVal)

## Parameters

configVal

Returns the number of A/D channels.

## Returns

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