LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Robert.L

Retrieving a particular previous value from a shift register.

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

When using shift register on loops have an input box to define the number of iterations previously which you wish to retrieve the value from. For example if you required the value from the shift register from 15 iterations before you could enter 15 into the control box and return the value from the 15 iteration for access within the loop. 

 

Shift redgester definable pic v 3.png

Regards

Robert

National Instruments UK & Ireland
7 Comments
AristosQueue (NI)
NI Employee (retired)

When would you use this? Is it any different than growing the shift register, which you can do today, to be fifteen tall?

Robert.L
NI Employee (retired)

This is for when space is a premium as growing a shift register to large numbers such as 100 would create a huge loop, but even 15 creates a rather large loop which can course a relatively simple peace of code to be rather large.

Regards

Robert

National Instruments UK & Ireland
elset191
Active Participant

The feedback node can do this, can't it?  (I'm not sure, I've never used a feedback node.)

--
Tim Elsey
Certified LabVIEW Architect
AristosQueue (NI)
NI Employee (retired)

Ok. I just wanted to verify that this feature was what I thought it was -- a cosmetic change to the history of shift registers, not a new type of functionality.

 

The feedback node doesn't grow. I don't know any way to do history with that node.

GrownShiftRegister.png

JackDunaway
Trusted Enthusiast

I think Tim is referring to this

AristosQueue (NI)
NI Employee (retired)

Thanks for the link, Jack. After reading it, I have to say, that is a truly bizzare feature. But apparently it has its uses since that's exactly what Robert is asking for, only with shift registers instead of feedback nodes.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.