12-13-2019 03:00 PM
I am trying to extract a signal from a while loop for use in a true/false block. I am new to LabView, so I think I need a little help. I'm measuring a pressure, multiple temperatures, etc. I would like to use my pressure measurement (first picture has while loop) to control whether a voltage is supplied to the system (using the true/false block). Every time I run the system, my probes indicate that the signal is not being extracted from the while loop properly. I would appreciate any help on this.
I keep placing probes on the signal outside the while loop, but they indicate that it was "Not Executed." I feel like there is a simple solution that I am just not aware of. Anyway, I need the pressure from the signal for use in this true/false:
Thank you in advance for the help!
12-13-2019 03:23 PM - edited 12-13-2019 03:24 PM
Just guessing here:
For 1, your values stay insides the while loop while running, only when the while loop has stopped can data leave it. This is data flow. Since you are new, it may be confusing to see a wire between loops and think they are communicating on every iteration. Check out the tutorial at the top of the forum. You can do messaging between loops with queues, channels, user events, notifiers, local variables, ...
For 2, right-click and choose enable indexing, then you will get an array, but only after the while loop has stopped.
mcduff
12-13-2019 04:17 PM
It also helps to attach your VI. I appreciate the pictures in that it helps tell us where in your VI you have questions. But they are just small subsections your VI and we can't see how those pictures relate to each other.