08-11-2009 05:24 AM
Hello,
I'm using crio and NI 9215 to collect analog data. How should I use the Derivative x(t) PtByP.vi to calculate the derivative of the acquired signal in a loop that reads the samples?
Solved! Go to Solution.
08-11-2009 05:48 AM
08-11-2009 11:19 AM - edited 08-11-2009 11:20 AM
You could manually compute the derivative using a few primatives.
Esentially, all a derivative is composed of is delta-y divided by delta-x.
So you could just do something like this:
Assuming you have a 2D array of data, with the first column as X values, and second column as Y values.
You can find the instantaneous derivative for each point.
Edit: That image came out kind of strange. Those two orange wires that seem to go to the right of the for loop but dont connect to anything, they are supposed to feed into their respective shift registers.
08-11-2009 11:37 AM