LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a linear relationship

Solved!
Go to solution

Hello,

 

I have a voltage input on my DAQ device from a volume sensor, and want to link this to the actual volume. Is there an easy way in which I can say that 0 Volt should be equal to a volume of 0 liter and 1.5 Volt should equal 20 liter and have a linear relation for the values inbetween?

0 Kudos
Message 1 of 3
(3,040 Views)
Solution
Accepted by topic author Allard171
Message 2 of 3
(3,031 Views)

Hi Allard,

 

apart from DAQmx scales you could use a simple equation like

   flow := 20/1.5 * voltage

 

Seems easy to implement…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(3,006 Views)