LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

interupt a process to access control buttons

I'm running an MIO 16E card using EasyDaq function. I'm running the "AIAcquireTriggeredWaveforms" inside a while loop to continuously update data at an incomming trigger. Works great, works really fast but.. What is the prober way to access or interrupt the process to access control buttons to change parameters in the acquiring while mode to change trigger conditions or gain. The program works like an oscilloscope and changing gain and sweep is necessary. Right now I have to terminate the program to make any adjustments.
0 Kudos
Message 1 of 3
(2,658 Views)
Duplicate post. See answer here.
0 Kudos
Message 2 of 3
(2,658 Views)
Hello,
You can also call ProcessDrawEvents function, instead of ProcessSystemEvents function. ProcessDrawEvents processes only user interface events if they occur, whereas ProcessSystemEvents processes any events if they occur. In your case, it looks like you just want to be able to process user interface events, so ProcessDrawEvents should solve the problem.

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,658 Views)