# CClear()

Clears a scan counter value (sets it to zero). This method only works with counter boards that have counter scan capability.

Member of the MccBoard class.

## Function Prototype

VB .NET

Public Function CClear(ByVal counterNum As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo CClear(int counterNum)

## Parameters

counterNum

The counter to clear.

Note: This parameter is zero-based (the first counter number to clear is "0").

## Returns

- Error code or 0 if no errors