07-25-2005 02:58 AM
07-25-2005
03:42 AM
- last edited on
11-07-2025
03:06 PM
by
Content Cleaner
Hello Peter
You need to define the Event which each case has to act on. You do this by right clicking the event structure boarder and choosing "Edit Events Handled by This Case..." from the pull down menu. There you can define if the event should be triggered if some control has changed its value. You can choose from some predefined events. See this link for a graphical view.
https://www.ni.com/en/support/documentation/supplemental/06/event-driven-programming-in-labview.html
As this tutorial explains you can find a lot help about using the Event Structure in the LabVIEW User Manual.
Regards
Mohadjer
NI-DK
07-25-2005 03:53 AM
HI!
Thank you for your fast answer! But i have a problem, on my system is the base version of labview installed. Because of that i can't configure the event structure!
Could you or somebody do that for me, because it*s very urgent ??
Best regards,
Peter
07-25-2005
04:03 AM
- last edited on
11-07-2025
03:07 PM
by
Content Cleaner
Hello Peter
I will help you since this is an urgent matter but just as a reminder or as information I have linked to the following site that explains why you can not use the Event Structure with the base package of LabVIEW.
http://digital.ni.com/public.nsf/websearch/86256A47004E16D286256B490060C5A1?OpenDocument
When that is said, what Events would you like to implement in the different cases? You need to give at least one event for each case.
Regards
Mo
07-25-2005 04:15 AM
HI!
I have red that document and i started the Upgrade Advisor. To upgrade my system to the full version is very expensive and I need only in that program the event function.
Yes it*s very urgent and i hope you can help me!
When the user pushes the Graph Botten the data should be displayed on the graph, with the clear button i wan*t to clear the graph and with the stop button i want to close the program!
07-25-2005 04:28 AM - edited 07-25-2005 04:28 AM
Message Edited by shoneill on 07-25-2005 11:30 AM
07-25-2005 04:37 AM
Its correct what Shane writes, you could do without the Event Structur but the application will poll for the changes. I have done as you wish but maybe it will be easier for you not to use the Event Structure since you are not able to do any changes when needed. I have removed the case structures that you had in the event cases since you did not have any code in the false cases.
Regards
Mo
07-25-2005 05:29 AM
HI guys!
Thank you for your help. I tried all two possibilities (Case structure, event structure) and the worked. I had found another possiblity with a two array functions. Because of that, i won*t use event-structures in future ![]()
THANKS A LOT!!!!
Best regards,
Peter