LabVIEW Idea Exchange

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

"Insert Into Array" should be wired correctly when insert into an array wire

Status: New

If you right click on an array wire and choose "insert - array palette - inert into array" you geht this:

 

lv_arr_2.PNG

 

It would be better if this happens:

 

lv_arr_1.PNG

3 Comments
Mr.Mike
NI Employee (retired)

After some investigation, I think this does't have anything to do with the node.  How we rewire is based on how close existing wires are to terminals.

 

If you right click above the wire you're inserting in then the inserted node is placed higher, the lower terminal (array index) is closer, and therefore the lower terminal is wired up.

If you right click below the wire you're inserting in then the inserted node is placed lower, the upper (array in)  is closer, and therefore the upper terminal is wired up.

 

I agree the rewiring should be smarter.

-- Mike
altenbach
Knight of NI

related issue

 

(So, actually, many time the insertion is already smarter, but there are situations where it does not happen as expected.)

Darren
Proven Zealot

FWIW, Quick Drop Insert seems to handle all the array primitives correctly.