LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I kill all received mouse events after system processing?

I must program a test sequence (communicate with GPIB-devices an so on). The test sequence must be started with a click on a command button.
 
If the user clicks on this button while test sequence is running, the test starts all over after sequence is finished.
 
How can I kill all user activity (mouse and kexboard)?
 
I tryed it with SetInputMode and SetCtrlAttribute (dimmed). But I have still the same problem.
 
I'm using CVI 6.0.
 
Thanks for your help.
0 Kudos
Message 1 of 3
(2,991 Views)
I have the same problem
So I set button attribute with SetCtrlAttribute() to dimmed
and after this function call you need to call ProcessDrawEvents() and your button status will be updated.
0 Kudos
Message 2 of 3
(2,969 Views)
you can SetPanelAttribute to dim too.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 3
(2,957 Views)