LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analogue output from numeric value

I’m reading a pressure value in serially, which could be anything from 0-1600 psi, I convert this string to a numeric value for display on a thermometer indicator.  

What I’d like to try and understand is how I could take this numeric value, and write it to an AO. I have a  DAQ-6008, which if I understand it correctly,  0V would represent my minimum pressure, 0 psi, and 5V would represent my max pressure, 1600psi.

What’s bamboozling me is how does it know what my min and max input conditions are, so it can scale the output?

0 Kudos
Message 1 of 3
(2,510 Views)

It does not know what the min/max conditions are.  You have to tell it.  Take your PSI reading, divide by 1600 psi (full scale input), and multiply by 5 V (full scale output).  If the minimum values were not both zero, you would have to also include offsets to account for the minimums.

 

Lynn

Message 2 of 3
(2,484 Views)

of course it is!!! how silly do i feel now!! thanks for that 🙂

0 Kudos
Message 3 of 3
(2,479 Views)