Admin Production ni-theme
Current Publication

ResumeAsyncTimerCallbacks

LabWindows/CVI

ResumeAsyncTimerCallbacks

int ResumeAsyncTimerCallbacks (void);

Purpose

This function cancels the effect of a call to SuspendAsyncTimerCallbacks.

Note Note  ResumeAsyncTimerCallbacks does not change the value of the ASYNC_ATTR_ENABLED attribute for individual timers. If you created a timer with an initialState of 0 or set ASYNC_ATTR_ENABLED to 0 for a timer, you cannot enable that timer by calling ResumeAsyncTimerCallbacks. Instead, you must set the ASYNC_ATTR_ENABLED attribute to 1 to enable the timer.

Parameters

None.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Return Values:
0Success.
–1The system failed to allocate a timer.
–2No more IDs are available to assign to a new timer.
–3Not enough memory left for this operation.
–4The timer with the given ID was not found.
–5Initialization with a call to NewAsyncTimer was not done.
–6An internal error occurred.
–7The value of a parameter passed to this function was invalid.
–8The functionality is only available on real-time operating systems.
–9You cannot set this attribute.

Additional Information

Library: Asynchronous Timers

Include file: toolbox\asynctmr.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later