Admin Production ni-theme
Current Publication

EVENT_TIMER_TICK

LabWindows/CVI

EVENT_TIMER_TICK

Description

LabWindows/CVI generates an EVENT_TIMER_TICK event when the callback function associated with a timer control is called at the end of a timer interval.

Note Note  National Instruments recommends that you use the GetTimerTickData function to obtain the time of the current EVENT_TIMER_TICK callback and the time elapsed since the last EVENT_TIMER_TICK callback instead of using the values returned in the eventData1 and eventData2 parameters. GetTimerTickData is the only way to get the time values from an EVENT_TIMER_TICK event in a 64-bit executable.

If you are creating a 32-bit only application, you can use the values returned by eventData1 and eventData2.

This event is not swallowable.

Applies To

Timers

Event Data Parameters

eventData1 = Pointer (double*) to the current time, in seconds.

eventData2 = Pointer (double*) to the time elapsed since the last EVENT_TIMER_TICK, in seconds.

LabWindows/CVI Compatibility

LabWindows/CVI 3.1 and later