From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

Easier way to insert and delete element in array

Status: Completed

Keyboard shortcuts for inserting into and deleting from arrays were added to LabVIEW 2020 SP1.

I could be easier to insert or delete element from array by only select and hit Insert or Delete on keyboard.

 

Insead of this:

 

DeleteFromArrayOld.png

 

Select like this:

 

DeleteFromArrayNew.png

 

 

LabVIEW ChampionArchitect
6 Comments
andre.buurman@carya
Active Participant
In that perspective adding "End" to go to the last element and adding "Home" to go to the first element would also be usefull.
Regards,
André (CLA, CLED)
JackDunaway
Trusted Enthusiast
Andre, It used to bother me that it was difficult to find the end element of an array, but there is a solution! Right click on the array, and select "Visible Items -> Show Vertical Scrollbar". This works on FP arrays and BD constants. Cheers, Jack
Intaris
Proven Zealot

While we're at it with keys operating on Arrays, how about "PageDn" and PageUp" moving up (Index-wise) and down the visible Array elements by the same number as Array elements are visible.......

 

Darren
Proven Zealot

If this idea gets implemented, the same gesture should also work on array constants.

Christina_R
Active Participant
Status changed to: Completed

Keyboard shortcuts for inserting into and deleting from arrays were added to LabVIEW 2020 SP1.


Christina Rogers
Principal Product Owner, LabVIEW R&D
fabric
Active Participant

So here are the new shortcuts:

 

Arrays
Ctrl-Delete Deletes the current element and shifts later elements up.
Ctrl-Shift-Delete Deletes the element before the current element.
Ctrl-Enter Inserts a new element after the current element.
Ctrl-Shift-Enter Inserts a new element before the current element.
Ctrl-PgUp Scrolls the visible elements in an array by one page up.
Ctrl-PgDn Scrolls the visible elements in an array by one page down.
Ctrl-Home Scrolls to the first element in an array.
Ctrl-End Scrolls to the last element in an array.
Tab Moves to the next element if the Auto Tool is on and locked.
Shift-Tab Moves to the previous element if the Auto Tool is on and locked.

 

It took me a while to find these... Hope this helps someone!