LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to convert the mA reading into a real number (PSI) i am using signal conditioning and labview 5.1 I can get it to red the mA but then i get stuck

I have got the data to transfare into a excell sheet but i need to convert it and view it in a graph
0 Kudos
Message 1 of 3
(14,074 Views)
Helps to give more information!

Assume you have a pressure sensor that gives a millivolt reading; the
manufacturer should supply a way of converting that millivolt output into
pressure. This will be either by a specified formula or by a calibration
table- the formula is by far the easier to deal with but may need some local
calibration. Look in the documentation for the sensor.

You are better to do the calculations in Labview and output final values to
Excel, rather than mess about each time doing the calculation in Excel.

For graphing; if you want to do the graph using Excel, that's an Excel
problem and is well covered by Excel's online help- assuming you're not
wishing to programmatically make Excel do the graph from the Labview code.
Alternatively, Labvie
w has various types of graph that you can use.

If you give more info, you might get more back.

john wrote in message
news:506500000008000000012B0000-999158726000@exchange.ni.com...
> I am trying to convert the mA reading into a real number (PSI) i am
> using signal conditioning and labview 5.1 I can get it to red the mA
> but then i get stuck
>
> I have got the data to transfare into a excell sheet but i need to
> convert it and view it in a graph
0 Kudos
Message 2 of 3
(14,074 Views)
This is not to hard. First step is to take the mA range and find the delta. For example a 4-20mA signal has a delta of 16mA. Now take the 16 value and divide it by the range of the sensor. Lets just say that the sensor reads between 0 PSI and 500 PSI. So 16/500=.032mA per 1 PSI. So now in Labview get your input value from your hardware and then wire it to a minus module and subtract .004 (this will give you 0mA when you have no pressure). Then wire a multiply module and multiply by 31250 (.016 times 31250 will give you 500, your max or span). Then wire this to an indicator.

Hope this helps
0 Kudos
Message 3 of 3
(14,074 Views)