# BoardConfig.GetNumExps() method

Gets the number of expansion boards.

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

## Function Prototype

VB .NET

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

C# .NET

public MccDaq.ErrorInfo GetNumExps(out int configVal)

## Parameters

configVal

Returns the number of expansion boards attached to the board.

## Returns

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