12-12-2013 09:33 AM
Start by removing the for-loop. It always runs once, so i is always 0.
12-12-2013 09:48 AM
Yes the problem is the foor loop but If i remove the first for loop...i have to make the same estructure but using the while loop? or how?
I understand your example from this I see what happens the itineration is always 0 in mine like in your picture
12-12-2013 09:56 AM
In post #14 I played around with using a scalar instead of the array. Was that post helpful?
http://forums.ni.com/t5/LabVIEW/Take-time-between-two-max-values/m-p/2647305#M789967
12-12-2013 09:59 AM
Tood..no it didn't work :S
the program that it works good is from Uday this that I add but when I put this in my program it doesn't work for the first for loop for the itinerations.. :S
12-12-2013 10:47 AM
12-12-2013 10:53 AM
Yes is one of the problems... I think it could be a good idea keeping your code outside the while lop and send 2d array when I press the button stop,
it could be a good idea no?
But when you say outside in which part I have to put? And how I have to send the 2d array? :S
thanks tood and uday
12-12-2013 11:02 AM
12-12-2013 11:23 AM
I put out of while loop but it doesn't work....its something like this? :S
12-12-2013 11:33 AM
12-12-2013 11:41 AM
I ve done something like this but always appears 0 0 0 0 in the 2d temp and volt
is it what you say?
sorry for my english....
thanks a lot