The program stops working

Hello fellow labviewers!

Newby here!

If im writing a program for a (off House shit of broken pieces) industrial percolator. It works perfectly fine, but there's a crease: the program that makes sure there is enough water and that water is heated properly turns himself in when the party making the coffee is on. After coffee, the program is going very well.

This isn't really a big deal, but for the sake of learning labview good I'd like to know what im doing wrong.

Why can't you run several selectors case + while loops and why my program runs when this happens?

Thanks in advance!

Oh in the program I removed the hardware sensors /outputs and put in random data for testing convinient reasons.

Stream.  You have a loop inside the structure of the case.  The main loop can iterate until EVERYTHING is completed.  This includes the inner loop.  So while this inner loop is running, everything else is blocked waiting for the main loop to iterate (from what I can tell 8 seconds!).

Instead of an inner loop, ensure in a registry to offset on the main loop.  You can make your comparisons you already have, just with the value stored in the registry change.  You will also need to iterate the value yourself, rather than depend on the i.

Tags: NI Software

Similar Questions

Maybe you are looking for