Chapter 2 Using Loadable CompiledM odules
©
National Instruments Corporation 2-5 LabWindows/CVI Programmer Reference Manual
kRunState_EnableCallbacks,
kRunState_DisableCallbacks
};

The following examples show typical program state changes.

Example 1
kRunState_Start
kRunState_EnableCallbacks
/* user program execution begins */
.
.
./* a breakpoint or run-time error occurs, or user presses the
Terminate Execution key combination */
kRunState_DisableCallbacks
kRunState_Suspend
/* program execution suspends; CVI environment resumes */
.
.
./* user requests the execution be resumed, through the "Continue",
"Step Over", etc., commands */
kRunState_Resume
kRunState_EnableCallbacks
/* user program execution resumes */
.
.
.
/* user program execution completes normally */
kRunState_DisableCallbacks
kRunState_Stop

00ProRef.book : 06chap02.fm Page 5 Monday, March 9, 1998 3:23 PM