# BoardConfig.GetDiNumDevs() method

Gets the number of digital devices on the board.

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

## Function Prototype

VB .NET

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

C# .NET

public MccDaq.ErrorInfo GetDiNumDevs(out int configVal)

## Parameters

configVal

Returns the number of digital devices.

## Returns

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