ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressure transducer and Arduino

Hi folks...

Am using LIFA/Arduino to measure a 4-20mA output from a pressure transducer (0-160bar).

All working well (using a current sense resistor across a analogue input) - but what I would now like to do is measure the rate of change of pressure (say delta P per minute) - Now I'm sure there is a very straight forward way of doing this but

my mind is in a fog currently as to how.........

Any ideas out there???

cheers

Dave

0 Kudos
Message 1 of 3
(4,625 Views)

Labview's shift registers can be used to store previous samples and you can use the shift register to make a simple differentiator by taking the difference between the present value and a previous value.  I f you are not familiar with shift registers do a Google search on the phrase "Labview Shift Register".

The following link shows a more sophisticated Digital Differentiator.

<http://www.dsprelated.com/showarticle/35.php>

hrh1818

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

Thanks hrh 1818...

After entering my question I did do some further reading up and found the answer as you have stated - Good ol shift registers. Have it setup now and appears to be working. Thanks for your answer..

Dave

0 Kudos
Message 3 of 3
(3,679 Views)