04-17-2007 02:04 PM
04-19-2007 01:03 PM
04-19-2007 01:39 PM
04-20-2007 06:59 AM
You do not have to deactivate all buttons at once, I use a subvi which takes a reference to a vi and a string array. The subvi will loop over the controls[] array property of the vi, and for each control, if the lable (name of the control) is in the array of controls to deactivate (compare the lable of each control to the string array) then set the enable to 1 else do nothing. Make a second version to enable a list of controls. This will allow you to turn on and off lists of controls with minimal work. There is a slight overhead but if you have it in a GUI loop only, you dont have to worry about this. This is why multithreading user events and DAQ is important.
Paul