LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting V input/output from PID loop into Amps to send to a valve?

I'm using the PID toolkit to control the level of water in a tank.  I have a FP-AIO-600 to read voltage from a pressure transducer (process variable; 0-5V), which is then sent through the PID loop.  However, the AIO-600 only outputs current, which is the signal that's sent to the water inlet and drain valves (4-20 mA).  This means that the output from the PID loop is in units of Volts, but this needs to be converted to Amps in order for it to control the valves.  Can this be done using LabVIEW, or do I have to get a FP-AIO-610 that outputs voltage?

 

Thanks for the help!

0 Kudos
Message 1 of 2
(2,305 Views)
If you have a card that outputs what you need to control the valves then all you need to do is convert from one to the other. If it is a linear relationship then it can be done with an interpolation, an equation for which can be found in the math functions palette. If it isn't, but you have an equation describing the relationship then a formula node may be appropriate. Otherwise a lookup table, basically a 2D array, with elements representing the "input values" and adjacent elements representing the "output values".
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 2
(2,288 Views)