LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

difference between event structure and case structure

Hi, can anyone tell me the diference between an even structure and a case structure with an example.
Regards
RobinHood
0 Kudos
Message 1 of 6
(7,495 Views)
No Mike.I didn't.
Regards
RobinHood
0 Kudos
Message 3 of 6
(7,480 Views)

They didn't specifically mention any differences. can you just make out any differences with one example.

Your help is well appreciated

 

Regards
RobinHood
0 Kudos
Message 4 of 6
(7,479 Views)

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. 

Message Edited by Vsh on 03-08-2010 04:25 AM
Message 5 of 6
(7,473 Views)
Besides using the help that comes with LabVIEW, you might want to look at the menus and then go to Help>Find Examples.
0 Kudos
Message 6 of 6
(7,444 Views)