Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

range signal control

$
0
0

Hi everybody,
I just started using labview, but I would like to fix an electrical process I have in mind..
fortunately I have already solved some problems with my electrical process IN/OUTPUT from my new cRIO, but now I'm getting in trouble with another solution, this is the problem:

I have an electric signal (mA) from an analog input (AI) in the cRIO, and 2 valves to control through 2 different Digital Output (DO1 - DO2)

when the AI value is let's say 6, I have to give a signal to the DO1 but NOT to the DO2.  At that point I'm sure the value of my current (AI) will go down.

since the AI is greater than 5,  I have to give a signal to the DO1 but NOT to the DO2.

 

when the AI value is below 5, I have to NOT give a signal to the DO1 but YES give a signal to DO2

since the AI is below than 6, I have to NOT give a signal to the DO1 but YES give a signal to DO2

 

I mean, when the value from the AI is going from 6 to 5 , I have to give a signal to DO1 but NOT DO2, but when the value from AI goes on the other direction from 5 to 6, I have to give NOT a signal to DO1 but YES give a signal to DO2.

This is what I've done so far. (attached), I think the problem is more complicated than what I'm doing on my simple .vi

Thank you very much!


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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