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

generate constant voltage under Specifying Conditions

$
0
0

 Good afternoon everyone!!!

 

We are now using labview to generate constant voltage.

I've found an example and did some change to fit our project. We need to output a dc voltage only when one of our voltage input is between 5V and 7V. I try to use a case structure to achieve it.

 

When increasing my input voltage bigger than 5V, program inside the case structure can generate a dc voltage. But when I decrease my input (less than 5V), case structure won't stop run and even remains generate dc voltage.

 

Another question is the stops  inside the while loops. I have two while loops, one is inside the case structure(stop 2). The original stop control 2 for this while loop is

p.png

But I want to use another stop button(stop 1) to control the whole program so I connect stop 2 with stop 1, is it can??

 

I've attached my vi. here. Could anyone tell me where is my error and how should I solve it !!

Millions of thanks !!!!!!!!!!!!!!!!!!

 


Viewing all articles
Browse latest Browse all 66935

Trending Articles



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