LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
cy...

Shift Register - Retain value if unwired (right terminal)

Status: New

Good day forum

 

Proposal: add "retain value if unwired" option to shift registers. particularly useful to reduce wire clutter inside and outside of loops.LIX.png

Have a great day

 

 

CY (expired CLAD)
60 Comments
crossrulz
Knight of NI

Along with what Intaris is stating: A better way to define the output of unwired output tunnels


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
wiebe@CARYA
Knight of NI

It would be weird to add a Output Default Tunnels case (or any case) to loops... I don't see that happening, but could be wrong.

wiebe@CARYA
Knight of NI
Intaris
Proven Zealot

Kudo'd to keep the discussion going

cy...
Active Participant

The feed through method seemed promising, with the arrow pointing to its pair on the right. It could look like a tunnel but inherit the nature of a shift (typo, haha) register, applicable for loops and non-loop structures. If only the terminal is smaller...

 

Too bad I am not at my workstation now, otherwise would have cook up something...

CY (expired CLAD)
cy...
Active Participant

how about this? a tunnel that can be converted into a "feed through" tunnel by a right click, "replace with feed through", just like a shift register. each "feed through" will exist in pairs distinguishable by different height in the BD. and it will default the left writer wire value, unless it is wired on the right. 

 

 

can also be considered for enforcing dataflow sequence, like a error wire, transforming the structure as if it was an opened subVI. cases with error terminals can read and update the feedthough, cases without can inherit the cluster without additional case by case wiring. no more clutter.

 

(edited for mia'ed png & comments) 

CY (expired CLAD)
cy...
Active Participant

missing png as attached

 LIX2 new.png

 

...

 

 

CY (expired CLAD)
wiebe@CARYA
Knight of NI

@cy: Great idea, sound familiar...

cy...
Active Participant

yeah... the png is supposed to have a version for the case type structures as well, but for some reasons unknown, I can't upload it. reason I use the arrow, rather than bar within the box, is to intuitively show the shift register's N=0 behaviour inherited by the tunnel. having it resemble much to the conventional tunnel may lead to misunderstanding that common tunnels have the same behaviour...

 

anyways, it is just a suggestion...

CY (expired CLAD)
wiebe@CARYA
Knight of NI

The bar was just to indicate a change. I'd prefer an arrow or at least some other graphics as well. I just didn't want to spend time on something that might never happen.

 

>the png is supposed to have a version for the case type structures as well,

No idea what you mean by that, getting curious now.

 

In your example you wired one of the new tunnel outputs. This will make it act exactly like a normal tunnel, right?