el 02-01-2015 08:11 PM
I want to know if its possible to insert data into an array, but I wish to do it as I would in excel, by using the option of insert row.
Is it possible to insert a value into an array in a specific row, so that all the other values are moved one row down?
Please let me know how to do this, and if you could please provide some sample code, that would be great.
Thanks!
el 02-02-2015 08:25 AM
Hello Nando88,
You can use an Insert Into Array function.
Programmatically Inserting Elements, Rows, Columns, and Pages into Arrays:
http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/prog_insrt_elements_rows_co/
You can find an example on the next link:
Re: How best to insert a sub-array (row) into a 2D array at the correct index which is depending on the value of the first column:
Best regards.