LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save data in an array ??

Hi!

I found the solution for the task.

After getting the repeated array,i make another subarray.I compare the next and the previous values of the array.And because the values are always increasing so if the next is smaller than the previous => the array repeats.And after comparing,it will count 1 time.Then we take the sum beetween the amount of comparision and 1.For examples,We have [1 2 3 4 5].We compare 2 to 1 ....5 to 4.We have 4 times then +1 to get the length of the array.

That is the solution.I found that but anyway,thanks a lot for your helps!Smiley Happy

Regards,

SonNam

0 Kudos
Message 11 of 11
(2,740 Views)