03-08-2010 03:12 AM
03-08-2010
03:28 AM
- last edited on
03-10-2026
09:27 AM
by
Content Cleaner
Hi RobinHood,
did you read the online help to both topics?
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/structures/event-structure.html
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/structures/case-structure.html
Mike
03-08-2010 03:51 AM
03-08-2010 03:54 AM
They didn't specifically mention any differences. can you just make out any differences with one example.
Your help is well appreciated
03-08-2010 04:23 AM - edited 03-08-2010 04:25 AM
There are many differences between a case structure and an event structure.
In simple words,
An event structure is used to handle user events. For example click of a button, closing a pane, value change of a tree. (Which just needs an addition of a event case in the event structure, whereas you might have to code a bit more with different architecture using a case structure)
A case structure is used handle conditioned states like TRUE/False, number within range or no, error/No error. (Which are not possible to perform with an event structure.)
I guess the links mentioned by other posters here is quite good enough to get started with these structures.
03-08-2010 07:05 AM