timer_out_start()

Starts a timer square wave output. Use timer_out_stop() to stop the output.

Prototype

timer_out_start(board_num, timer_num, frequency)

Parameters

board_num (int)

The number associated with the board when it was installed with InstaCal or created with create_daq_device().

timer_num (int)

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

frequency (float)

The desired square wave frequency in Hz. The timer clock will be divided down by integer values to calculate the frequency. The actual frequency output will be returned. Valid values are dependent on the timer’s clock and the timer resolution.

Returns