LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?

Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?
Could not find this info via the "Context Help" window.
0 Kudos
Message 1 of 4
(2,629 Views)
In Array Palet you have "Replace Array Subset".

Try it.
0 Kudos
Message 2 of 4
(2,629 Views)
If you have to handle situations where you do not want to insert something in an array, then you can either use a negative index value as you suggested, or put the insert node in a case structure, with the "do not insert" case empty (almost...just crossed by the array wire!..)
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 4
(2,629 Views)
Sounds like a couple of good suggestions! Thanks, Erik
0 Kudos
Message 4 of 4
(2,629 Views)