RTTimer Constructor (Clock, RTTimerCallback)

Initializes a new instance of the IntervalZero.Threading.RTTimer class with an infinite period and an infinite due time, using the newly created RTTimerCallback.

IMPORTANT! This constructor has been deprecated. It will be removed in a future release.

Namespace:  IntervalZero.RTX64.RTAPI.Threading
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 4.0.0.0 (File version: 4.5.0)

Syntax
public RTTimer(
	Clock clock,
	RTTimerCallback callback
)

Parameters

clock
Type: IntervalZero.RTX64.RTAPI.ThreadingClock
A clock identifier as defined below in the Remarks section.
callback
Type: IntervalZero.RTX64.RTAPI.ThreadingRTTimerCallback
A RTTimerCallback delegate representing a method to be executed.
Remarks
Allocates a new timer object and returns a handle to it. Legal clock values are:
  • System - One millisecond timer
  • RealTimeHAL - Real-time HAL timer. Default is 100 microseconds
  • Clock3 - General purpose clock 3
  • Fastest - The fastest available clock and time on the system
See Also