03-08-2010 03:12 AM
03-08-2010 03:28 AM
Hi RobinHood,
did you read the online help to both topics?
http://zone.ni.com/reference/en-XX/help/371361F-01/glang/event_structure/
http://zone.ni.com/reference/en-XX/help/371361F-01/glang/case_structure/
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