LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
ouadji

indexing and shift register

Status: Declined

 

 

                               Indexing OR shift register

 

     it would be nice to have  Indexing AND shift register

 

 

                    original5.png

5 Comments
ouadji
Trusted Enthusiast

I'm thinking deeply about this problem, and I'm not completely sure I have proposed a smart idea.

Sorry, to late for delete it. Smiley Frustrated

altenbach
Knight of NI
It might be nice (or not) to look at, but what is it supposed to functionally do?? That would be a much more important point to discuss. 😉
TCPlomp
Trusted Enthusiast

I can only see a valid use case for this if the for loop ran less times than the array size (by a conditional terminal, fixed N or other indexing smaller array), then your output array is smaller than the input loop.

That might be a bad thing, however this can be overcome by using the following code construct

SR-Array.png 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
MaryH
Member
Status changed to: Declined
 
ec01
Member

It could be interessant : for example in the loop a classic shift-register, but at the exit either the last value (classic), or an array of all the value which passed throught the shift register (with a choice concatenate or indexate array).