LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Store data if the condition is true

Hmm...

 

That is definitely not what you described in your original post.

 

Try this.

0 Kudos
Message 11 of 15
(629 Views)

Thanks.  I am trying to understand how your model works (why is the shift register needed etc?)

0 Kudos
Message 12 of 15
(626 Views)

The shift register holds the output array as it is getting built up. It starts with an empty array.  On each loop, it checks to see if the element is the same as the previous.  If the element is the same, nothing is done; the Select function simply transfers the old array unmodified to the next iteration.

 

If the element is not the same, the new element (and index) are concatenated to the array and the appended array is transferred to the next iteration.

 

0 Kudos
Message 13 of 15
(621 Views)

I also tried to udnerstand why the "auto index tunnel" is used (I didn't find this term in "Detailed Help" window).  Thanks.

0 Kudos
Message 14 of 15
(598 Views)

Following my previous question on "Auto Index Tunnel".  Does it use to excute the for loop according to the size of the array?

0 Kudos
Message 15 of 15
(597 Views)