04-19-2010 03:55 PM
04-19-2010 04:10 PM
04-19-2010 05:18 PM
04-19-2010 05:27 PM
Well, we used the "s" derivative in CD&Sim, but with discrete values, the derivative vi returned large spikes in the derivative value. We are trying to obtain smoother data with the derivative x(t) vi.
04-20-2010 01:49 AM
I see. To implement discrete derivative, you can do the following
The simplest way is to drop down a Derivative x(t) PtByPt.vi into the Simulation Loop. After inserting the Derivative x(t) PtByPt.vi, right-click on this VI, select SubVI Node Setup..., and choose Discrete under Simulation subVI execution type. Choose a fixed-step ODE Solver, such as Runge-Kutta 1 (Euler), in the Simulation Parameters tab of the Configure Simulation Parameters dialog box