Hello,
You can use either ProcessDrawEvents or ProcessSystemEvents so that your program can process other events before returning from a callback function for another event.
ProcessDrawEvents allows LabWindows/CVI ro process only user interface events, whereas ProcessSystemEvents process both user interface and system events.
Mika Fukuchi
Application Engineer
National Instruments