LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Derivative on the fly

Hello experts,
I would like to compute on-the-fly the 1st derivative of a curve as it is acquired
at 10Hz with AI Read.VI in a while loop (see attach diagram).
I use Derivative.VI, but it does not work: The derivative is always exactly 0.
Is it because I send one data point at a time?
Any solution/idea/suggestion?
Thank you!
Phil
0 Kudos
Message 1 of 5
(2,589 Views)
There is a pt-by-pt version of the derivative vi. This one would work.
Randall Pursley
0 Kudos
Message 2 of 5
(2,585 Views)
Thank you Randall
Where can I find the version that would work?
0 Kudos
Message 3 of 5
(2,578 Views)
In LV6.1, it's in the following:

Functions>Analyze>Point By Point>Time Domain PtByPy>Derivative x(t) PtByPt

But it is not included in the Base LabVIEW package. Probably the same in LV7.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 4 of 5
(2,568 Views)
Have a look at the following thread: http://forums.ni.com/ni/board/message?board.id=170&message.id=102065
Message 5 of 5
(2,555 Views)