LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy rows of an array

Hey guys,

 

I’m working on a program that involves having the user assemble a set of instructions into a 2-D array. I want to add functionality that allows the user to specify one or more rows to be copied and appended to the end of the array. Ideas? I would post the code, but it’s really big right now, and there are some… proprietary concerns, so I need to hang onto the files. I think it’ll be a fairly simple addition though, so just any thoughts you guys have will be helpful I’m sure.

 

Thanks,

 

John

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

How about a table control?  The user can select the rows they want and you can copy the selected data using property nodes (selection size and selection start).

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 3
(2,602 Views)

vt92,

 

Thanks for the idea I hadn't considered that. What I eventually ended up doing was using the delete function to remove a portion of the array specified by the user. Then using a loop and the build array function I have the code tack the deleted section onto the end of the original array. Seems to work pretty well so imma stick with that. Thanks for being willing to help though.

 

John

0 Kudos
Message 3 of 3
(2,568 Views)