# TimerOutStart()

Starts a timer square wave output. Use TimerOutStop() to stop the output. Use this method with counter boards that have a timer-type counter.

Member of the MccBoard class.

## Function Prototype

VB .NET

Public Function TimerOutStart(ByVal timerNum As Integer, ByRef frequency As Double) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo TimerOutStart(int timerNum, double frequency)

## Parameters

timerNum

The timer to output the square wave from. Valid values are zero up to the number of timers on the board – 1.

frequency

The desired square wave frequency. The timers clock will be divided down by integer values to produce the frequency. The actual frequency output will be returned. Valid values are dependent on the timer's clock and the timer resolution.

## Returns

- Error code or 0 if no errors
- frequency – the actual frequency set.