# BoardConfig.GetClock() method

Gets the counter's clock frequency in MHz (40, 10, 8, 6, 5, 4, 3, 2, 1), or 0 for not supported.

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

## Function Prototype

VB .NET

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

C# .NET

public MccDaq.ErrorInfo GetClock(out int configVal)

## Parameters

configVal

Clock frequency in MHz.

## Returns

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