08-01-2005 05:09 AM
08-01-2005 06:51 AM
08-01-2005 07:02 AM
08-01-2005 07:09 AM
Hi,
look at the vi attached. What I did is simply look for the falling edge s on line counter.
When line counter = true => add the average to a 1D array
When line counter = false => do nothing
When line counter change from false to true (rising edge) => do nothing
When line counter change from true to false (falling edge) => add the 1D array to the
2D array and re initialise the 1D array to an empty array.
I hope it is what you wanted to do! ![]()
08-01-2005 08:22 AM
Thanks a lot. You have implemented such a complex logic in a simple way! It took more than 2 hrs for me to understand it!
Regards,
Ravi.
08-01-2005 04:19 PM
08-02-2005 01:15 AM
08-02-2005 01:51 AM
No, your comments were really good. It is only the logic in two loops were bit tricky.
Regards,
ravi.