LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple data points to boolean indiacator

Solved!
Go to solution

Have you made any progress with this?

Tim
GHSP
0 Kudos
Message 41 of 44
(475 Views)

yeah kind of. I'm working on SubVIs right now so instead of having 800 million channels on the block diagram I only have a subVI which contains all of that. I suppose I still don't understand why I need to use case structures in my while loops.

0 Kudos
Message 42 of 44
(470 Views)

 


@tanyasue327 wrote:

yeah kind of. I'm working on SubVIs right now so instead of having 800 million channels on the block diagram I only have a subVI which contains all of that. I suppose I still don't understand why I need to use case structures in my while loops.


You use the case structure so you can have the event structure do all of the processing. So if the operator is not doing anything then the program does not have to do anything. Once the button is pushed then the state machine takes over and forces the program to do what you need it to do. So if you did not have a timeout constant then the program would wait until somethin happend to do something. You will also see in the future that it make it easy to add event driven states. This will make it easy to talk between loops and have one loop cause the other to do something.

 

Tim
GHSP
0 Kudos
Message 43 of 44
(462 Views)

The program sit in the message dispatcher until something happens. As long as you understand that then you should get the rest. I tell people to turn on the light bulb and watch what is happening. THen push a button on the front panel and watch what is happening. I hope this helps.

Tim
GHSP
0 Kudos
Message 44 of 44
(459 Views)