10-20-2006 01:38 AM
10-20-2006 01:48 AM
10-20-2006 08:12 AM
10-22-2006 10:01 PM
10-23-2006 08:14 AM
10-23-2006 09:16 AM
Hello,
The reason why your front panel elements are becoming unresponsive is because in your event structure options you have the option 'Lock front panel until event case for this event completes' checked. If you uncheck this you'll find the tab control will be accessable during acquisition. Also, when you click the OK button after the original click there is no part of the code that can handle that again, so it may be worth having a while loop around the sequence so it can be picked up.
In general it is a bad idea to use event structures within sequence structures. This is because, in the frames that dont contain the event structure, front panel objects will still be polled by the event structure, not letting any user interface interaction to be processed.
In addition, if you simply remove the events structure from the code submitted (right click the event structure and select 'Remove event Structure' ) which will leave everything inside that event inside the housing while loop, then the program works in the same way.
All of this information is listed in the LabVIEW help files found by clicking 'Help' on the toolbar inside LabVIEW.
Hope this is of use.
Tom
NIUK
10-23-2006 11:19 PM
10-24-2006
03:26 AM
- last edited on
05-05-2025
12:59 PM
by
Content Cleaner
http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/using_events_in_labview/
Everything you'll need to know should be contained in this online manual help file. It contians different approaches on event driven programming and will probably benfit you with your current application and in the future.
Enjoy.
Tom
NIUK