LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New Vi Object - Replace Array Subset, resize and wires Script

Solved!
Go to solution

Hi all,

 

I can create a Replace Array Subset. 

my problem is:

 

 

I what to resize it (add more inputs ) and wire the in and outputs.

Pls help!

 

Clipboard0257.jpg

i want to generate semthing like this:

 

Clipboard0258.jpg

0 Kudos
Message 1 of 3
(2,988 Views)

There are many array functions to choose from.

 

You haven't really given us much information because you say "i want to generate semthing like this:". If that's what you want, there you go.

 

If you want to replace array subset, but also resize, you can use the Insert Into Array as well.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 3
(2,965 Views)
Solution
Accepted by topic author mogergog

There are two methods of the GrowableFunction class, AddChunk and RemoveChunk, which can be used to add or remove X input chunks from the top or bottom of the node.

 

AddRemoveChunk.png

Matt J | National Instruments | CLA
Message 3 of 3
(2,932 Views)