LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Differentiation Value in Real Time

HI!
I have a analog input, and I am going to read the differentiation
value of analog input in REAL time! I did try the differentiation.vi
in Labview before, unfortunately it didn't work properly! Can anybody
help me to solve this problem please! Thank you!
0 Kudos
Message 1 of 3
(2,317 Views)
In order to help solve the problem, information about whats not working properly would be helpful. A detailed explanation along with the source code is the best way to get help.
0 Kudos
Message 2 of 3
(2,317 Views)
Hi,

If I understand correctlly, you want to differenciate [dx(t)/dt] the input
signal. To make this discreet, you must calculate the difference between
current sample and the previous sample, devided by the time difference (
DX/DT ).

so :
Value X1 on T1 (previous sample)
Value X2 on T2 (current sample)

difference = (X1-X2)/(T1-T2)

or in general: difference = (Xn - X'n-1') / (Tn - T'n-1')

Regards,

Wiebe.


"tom" wrote in message
news:a18dbc2f.0202270329.3a180b97@posting.google.com...
> HI!
> I have a analog input, and I am going to read the differentiation
> value of analog input in REAL time! I did try the differentiation.vi
> in Labview before, unfortunately it didn't work properly! Can anybody
> help me to solve this problem please! Tha
nk you!
0 Kudos
Message 3 of 3
(2,317 Views)