LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array 16 values

Hi everybody!!

 

I have an array that repeats each value 16 times. I would like take the first value, then 16 values after I have the other valid value and so on. And the build a new array. How could I take the corrects values?It's like that:

[111111111111111133333333333333334444444444444444] and I want [134]

 

Any specific vi??? Please, it's very urgent!! help!!

0 Kudos
Message 1 of 4
(2,579 Views)

Hi Kantabra,

 

You can check the attached VI. The explanations are added on the block diagram.


Regards,

 

Nitzz

(Give kudos to good Answers and Mark it as a Solution if your problem is Solved:smileywink:

Message 2 of 4
(2,576 Views)

Did it help???

0 Kudos
Message 3 of 4
(2,573 Views)

If the number of equal elements is fixed you can also use decimate 1D array resized to 16 elements, then use the first output array.

 

0 Kudos
Message 4 of 4
(2,566 Views)