07-19-2011 04:03 AM
Yet another solution if you don't want to use OpenG:
07-19-2011 04:06 AM
thanks dan_u and _lan_ for your help any your solutions
03-22-2012 08:12 AM
Nice solutions, but is there any similar, simple methods for a 2D array?:)
Greetings
Kristoffer
03-23-2012 07:15 PM
Sjefsgjogleren,
I would suggest you try to adapt that piece of code yourself. A second while loop would assist with the second dimension. However, it likely would need a few more small adjustments. Feel free to post your progress here and people will be more likely to assist.
03-23-2012 09:27 PM
Have you tried searching th forum first? You might have found the following:
http://forums.ni.com/t5/LabVIEW/How-to-delete-zero-rows-from-a-matrix/m-p/964121#M432182
http://forums.ni.com/t5/LabVIEW/delete-nth-line-of-array/m-p/1213903#M519224
... and probably many more.
08-21-2018 04:45 PM
This vi delete the empty rows from array 2D
08-21-2018 11:59 PM
@Lunal wrote:
This vi delete the empty rows from array 2D
This thread is 6 years old and solved. No need to attach an extremely inefficient solution that is also wrong. (For example it would output incorrect result if some rows contain empty and non-empty strings).
09-28-2022 06:42 AM
Hello,
I've used your suggestion but...each time the vi run the Array is not erased and it's populated keeping previous results.
First run
Second run
Where is the mistake?
Thanks in advance
I add my vi.
09-28-2022 06:55 AM
Sorry,
I;ve solved the case.
Thanks to your multiple examples.
09-28-2022 06:55 AM
@brambo60 ha scritto:
I've used your suggestion
What suggestion? My suggestion is to use the "Quote" button from the toolbar to indicate what's the post you are referring.
I cannot open your vi, but I guess you are not initializing a shift register. An uninitialized sr retains its previous value, so running multiple times may end in concatenating the results.