01-04-2020 08:33 PM
New users who is very lost. Can some one explain the uses of a Case Structure and an Event Structure using very simple principles. Also when would you use each and the differences.
01-04-2020 08:40 PM
A case structure is when you have something to choose among.
A value is True or False,
A value is an integer, case 0, 1, 2, 9999, Default
A value is a string of certain value.
A value is an enum (a predefined list, an "enumerated" list).
An event structure is similar in that one of many cases could execute, but is based on an "event" rather than a value.
It will wait for a control's value to change.
It will wait for a mouse action
It will wait for a key press,
It will wait for a user defined event (which in this case the "user" means the LabVIEW programmer)
It will wait for an amount of time to pass without another action, then execute the timeout case.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW
01-04-2020 09:56 PM
As a beginner, focus on the case structure first. Event structures requires more detailed knowledge.