Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69108

sequential while loops with same data input

$
0
0

I'm super new to LabView and programming in general.

 

I am creating a VI that displays a plot (plot 1) with a constant value as green until the Sine wave input (displayed as plot 0) equals a certain y-value range and then the color changes to black. After this color change of that particular plot (plot 1), I want a different plot (plot 2) to display a different constant value and the same requirements to be met, just at a different y-value for the Sine wave input.

 

 I've managed to complete the first part of my sequence with a while conditional loop but I am unable to get the second part to execute - it just stops with the next plot displayed but the data doesn't continue streaming through. Since I am relatively new to LabView, I'm unsure as to why this second part will not execute. Any help would be appreciated - I have attached a current version of my VI. 


Viewing all articles
Browse latest Browse all 69108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>