LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in LabVIEW 2018: wrong wiring when inserterting "delete from array" into an array wire

Solved!
Go to solution

when a array wire is right clicked to insert "delete from array" then the array wires are attached to length and deleted portion connectors instead of array connectors.

 delete from arraydelete from array

0 Kudos
Message 1 of 4
(2,481 Views)

This has been an issue for several versions - occurs in 2016 on the delete from array, insert into array, and array subset. Interesting to note, array subset will insert incorrectly the first time, then if I fix the wiring and try another insert, it inserts correctly. 

0 Kudos
Message 2 of 4
(2,450 Views)
Solution
Accepted by topic author code-lux

As with most insert operations on a wire, the resulting wiring depends on where the mouse was when you right-clicked. If your mouse is a few pixels below the array wire when you insert, the operations is correct. If it is above, the you get what you see. It is a matter of learning how to correctly place the mouse.

 

(But yes, here is only one possible logical insert operation, so the LabVIEW editor could be a bit smarter here ...)

0 Kudos
Message 3 of 4
(2,435 Views)

This just bit me a couple days ago. Make sure y'all kudo this post on the Idea Exchange:

 

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Properly-Insert-quot-Delete-from-Array-quot/idi-p/195...

 

0 Kudos
Message 4 of 4
(2,408 Views)