LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JingZhao

Scroll through elements in array controls/indicators

Status: Completed

The mouse scroll wheel works to scroll any control that has a visible scrollbar.

When I use LabVIEW array control/indicator, I often come to such a need that I want go through all the array elements quickly, e.g., look for a specific value, maybe compare with each other, or examine if there is anything abnormal about the data, especically during logging/debugging.

 

I find there is no easy way to do it right now. I can enter the index so the display can quickly starts with that element. But how many times should I update the index to finish reviewing all the data? And how much should I add to the index to refresh with the next chunk of elements? Of course I can always resize the array to a new height, to accomodate more visible elements. But what's the proper size, and it's not good to drag an array control so long.

 

I know, I can e.g., save all data to file, plot them on chart, to view all data. But I don't think it worths the effort. Maybe all I want to do is to browse a block of neighouring data, probably not all of them.

 

It'd be terrific if mouse wheel is supported. When the mouse is focused on array control/indicator, wheel can control scroll up/down array elements. Even better, pressing "PgUp", "PgDn" can scroll a whole page(the height of array) up and down, respectively.

 

wheel array

17 Comments
JingZhao
NI Employee (retired)

@altenbach: Then you can probably disable the auto scrolling programmatically.

toto69
Member

Also a vote for Scrollbar. Simple and do the job!

donkdonk
Member

Are you aware of this: click in index field, at the right of the digit you want to increment/decrement. use up/down arrow keys to scroll.

X.
Trusted Enthusiast
Trusted Enthusiast

Earlier idea here.

KeithTK
Member

Definitely voting for this idea. 

 

But while the scroll wheel behavior is being updated for arrays it should be updated in many places, fixed throughout Labview.

 

The behavior with different front panel elements and even many places in the development environment itself is random and not consistent with current 'standard' behavior.  Just like a modern OS or web-browser, the scroll wheel should effect the item you are hovering over, not necessarily the item/window that has focus.  And nested scrollable items move at lowest levels first and higher levels once the nested level reaches the end.

 

The only thing I know which does it properly right now is the listbox control.

 

@altenbach:  If you want to not allow a user to scroll an array, can't you simply lock the control on the FP or set it to disabled with a property node?

heel
Member

No. The mouse wheel is such a precious resource for panning up and down (unfortunately not horizontally: idea) that it should be conserved for this general use all over the window. Only in combination with a select key - similar to scrolling in case structures - should it scroll an array. 

Just enabling array scroll when the array has the mouse focus would break this.

 

Darren
Proven Zealot
Status changed to: Completed

The mouse scroll wheel works to scroll any control that has a visible scrollbar.