# ExpansionConfig.GetNumExpChans()

Gets the number of expansion board channels.

Member of the cExpansionConfig class. Accessible from the MccBoard.ExpansionConfig property.

## Function Prototype

VB .NET

Public Function GetNumExpChans(ByVal devNum As Integer, ByRef configVal As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetNumExpChans(int devNum, out int configVal)

## Parameters

devNum

Number of the expansion board.

configVal

Number of channels on the expansion board.

## Returns

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