05-04-2009 09:07 PM
05-04-2009 09:19 PM
That shouldn't be the problem...
So when you add them, they are correct. It's only the division that gets to be a problem. Can you give us an example of the inputs to the division (just one or two array elements) and the output of the division node?
05-04-2009 10:04 PM
Something is happening in either the frist or second iteration because the data before and after the division is off by one iteration when you divide the two results. For example,
On the third iteration: Before division: 3.75413 After Division: 1.87707
3.70394 1.85197
These should be different by a factor of three not two.
05-04-2009 10:17 PM
OK, so can you put a probe on the other input of the division node and see if that is what you expect (I suspect it isn't). I would guess that you would have to add one to your divisor before dividing, but I'm not sure.
05-04-2009 11:36 PM
Hi jtd,
you know LabView starts to count with zero (as many other programming languages do as well)?
So the third iteration is number two, will perfectly explains that division results are just half of the value before division...
05-05-2009 12:26 AM
05-05-2009 06:50 AM
05-05-2009 06:58 AM
05-05-2009 09:53 AM
05-05-2009 11:51 AM