03-13-2008 06:54 AM
03-13-2008 07:07 AM
03-13-2008 07:14 AM
03-13-2008 07:19 AM
03-13-2008 07:22 AM
03-13-2008 07:26 AM
Norbert B wrote:
LabVIEW is available in three different "setups" for every version. The three setups are:
Base Developement
Full Developement
Professional Developement
If you have access to the event structure via the palette, you have either full or professional.
Do you have experience in using "standard" case structures?
03-13-2008 07:30 AM
GerdW wrote:
when you have 4 buttons on your FP they should be presented in the event structure - just create them before the event structure!
I don't really follow this. What do you mean by the VI will be blocked by the event structure? Also I am not familiar with the producer/consumer pattern. I will have to read up first.
GerdW wrote:
You should not call vis in the event structure that may take longer to run - your event structure will likely block the vi until that event is processed. Use some producer/consumer pattern to control process flow!
03-13-2008 07:32 AM - edited 03-13-2008 07:33 AM
03-13-2008
07:54 AM
- last edited on
06-11-2025
10:24 AM
by
Content Cleaner
You can think of the event structure as a very special case structure. Of course, there are differences. The most important:
You do not have any "case selector terminal" since the events define the next event case to execute.
Besides of the differences, the event structure also has cases which do not display at the same time. You have to define which event should "trigger" which case. This is done in the dialog you should get when you add an additional event. You have to select which events should fire the diagram contained in this eventcase. It shouldn't matter if you create the source of the event after or before the eventstructure itself, but you will only be able to select eventsources which already exists when adding the eventcase!
Another important note:
Event driven programming often leads to misunderstandings and/or misusage when starting to work with it. So there is a quite good KB you can find here which explains the caveats at using the event structure in LabVIEW.....
Message Edited by Norbert B on 03-13-2008 07:56 AM
03-13-2008 08:13 AM
Do you think something like this will work without causing the problem GerdW was talking about in his previous posts?
Also how do I connect the buttons to the events?