LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
SpaceX Trip

Array Display Should Snap Back to Last Element when Array Shortens

Status: New

If you have a user interface that has an array display, and the user has "scrolled" down, but then the array becomes shorter, they end up looking at an empty window.

 

You can code around this so that the software recognizes the user's position exceeds the array size and snaps the window back, but this is clunky.

 

There should be an option built into LabVIEW to automatically snap the array display back to the last set of elements if the array size shrinks.  I think this should be the behavior by default, and it should be something you can turn off if you need to leave an array display showing unpopulated elements for some reason.

3 Comments
altenbach
Knight of NI

The same should apply to multicolumn listboxes, etc.

X.
Trusted Enthusiast
Trusted Enthusiast

I don't think that necessarily is what everybody wants. For instance, I often have indicators that I only use when debugging (say, they are the output of a subVI and the subVI's FP is never opened, unless I am debugging). I have sometimes wanted to understand why the 17th element is wrong (just a random number for illustration purpose). I set the ouput index to 17, and if the output array has a smaller size, I still want to look at index 17. I don't want it to snap back to the last element.

Unless I misunderstood the suggestion, I approve the option (how would it work though? I think there has been some suggestions to improve array indicators to allow snapping to the last position in the past), but I am not sure I would vote for it to be the default behavior.

Mark_Yedinak
Trusted Enthusiast

This is related to this idea. Perhaps NI should standardize the way scroll bars function.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot