10-05-2015 06:04 AM
Hello dears 🙂
An easy question....i have created a 2-D array, but some rows are empty
in which way can i remove the entire empty lines?
I have tried the solution in the attachment but it doesn't work 😞
thanks 🙂
PS: i use Labview 2009
10-05-2015 07:38 AM
Hi Gianluca,
you check single elements of your 2D array, then you try to delete those elements from your array.
This way will not work as your array needs to be "rectangular": all rows need to have the same number of columns (and vice versa)!
You can either delete full rows or full columns…
You should also keep track of the row/column you want to delete, using the loop iterator seems wrong here!
10-05-2015 08:09 AM
Also some OpenG tools might be helpful, or when making the array in the first place, some conditional auto indexing out of For and While loops might help eliminate making those empty rows in the first place.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-05-2015 09:28 AM