LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete From Array Ghost Row?

In LV 7, if I wire a 2D array to Delete From Array and delete the entire array (e.g. a 2x2 woth 2 rows deleted), the output is a 0 by X array where X is the original array column size. How can that be? This is not a problem in LV 6i. Similar weirdness occurs with Replace Array Subset. Ideas? Insanity? Examples attached in both versions.

LV 7 / WinXP


2006 Ultimate LabVIEW G-eek.

Message 1 of 14
(4,852 Views)
Hi Jonnie,

I could reproduce the behavior you reported about Delete From Array VI in LV 7.0 and 7.1.1. It works fine in LV 6.1 though. This definitely looks like a bug and I have reporetd it to R&D so they can investigate it further.

I have not been able to reproduce the problem with Replace Array Subset however. It would be great if you could explain it a bit more/post a VI.

Thanks for reporting the faulty behavior.

Ankita
National Instruments
0 Kudos
Message 2 of 14
(4,810 Views)
Hmmm, now I can't seem to replicate the replace array issue...

Strange that what once worked... now does not.

However, if you want to make more ghosties you can use a For loop (this has been a bug for a long time):)


2006 Ultimate LabVIEW G-eek.

Message 3 of 14
(4,801 Views)
And if you transpose the empty array inside the loop you get a splendid 5x5 array, filled with zero values...
I would like to get such behaviour with beer bottles : when empty, shake for a while and... hooooo, there is some more in !

CC
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 14
(4,789 Views)

@chilly charly wrote:
And if you transpose the empty array inside the loop you get a splendid 5x5 array, filled with zero values...
I would like to get such behaviour with beer bottles : when empty, shake for a while and... hooooo, there is some more in !

CC



The proper analogy would be that you shake the empty crate and it fills with empty beer bottle 😞
(Still not too shabby with todays redemption values for recycled bottles :))
Message 5 of 14
(4,783 Views)
Fortunately I live in michigan, so I can actually reap those benifits 😛

Anyone know of a listing anywhere of all the known bugs (and possible workarounds) for LV bugs? Digging through the forums can be a chore.

This one's annoying, but insane objects and hot wire errors are a real bugger.
~j5


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 6 of 14
(4,766 Views)
This is really weird. I am more concerned with the outpur array being filled with zero values than with the returned array size though that is wrong too. Anyway, thanks for reporting the bug. I will report this to R&D as well.

Ankita
National Instruments
0 Kudos
Message 7 of 14
(4,750 Views)
J5~

Ni Could easily do that as part of forum or their website. But they dont do it... Guess Why not?

But the Bug List is available on Lava Forum. It may not be complete but atleast it is there...

http://forums.lavausergroup.org/index.php?s=ae00218c8e4f4d43b177963aa457ac85&showforum=17
Good Luck!

Mache
0 Kudos
Message 8 of 14
(4,720 Views)

This appears to still be in LabVIEW. Is this still intended behavior.

 

To reproduce: Create a 2D array that's 1x4 delete the 1 row, use build array to add a 1D array with 2 elements, the result is a 1x4 array 

CLED (2016)
0 Kudos
Message 9 of 14
(4,112 Views)

Screenshot (running LV2009)19141i302A0F53A3134D79

CLED (2016)
0 Kudos
Message 10 of 14
(4,105 Views)