06-19-2014 05:20 AM
Hi All,
I have used for loop with a shift register so that an initial value is assigned to a variable and then new value could be updated by a mathematical equation, which involves integration. Could anyone please let me know, how to use an integrator with in a loop?
Regards,
Divya
06-19-2014 05:28 AM
There is a function "Numeric integration.vi" You can use this inside the loop. Can you gives us the equation?
11-09-2014 02:03 PM
I'm having the same problem....Each iteration the integrator is reset, so i tried to use the initial condition input.
It uses the first element of an array, so i need reorder the output, which is being a little difficult to do.
André Moura
11-09-2014 02:21 PM
It's pretty hard for us to see where things are going wrong from that description. Is it possible to share your code?
I'd suspect the second question in this thread is ignoring dataflow and hasn't used a shift register. But, I couldn't say without seeing more than "it resets on each iteration."