LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting array elements.

This one looks like a code bug to me, but I need verification. One of my co-workers is writing some data analysis tools, and is working with a three dimensional array of strings. We need to remove the first 5 rows on each page. His code looked OK to me, but when he ran it, it was dropping the first couple of elements from the array. We did some playing around and found that the number of missing elements depends on the number of rows we delete. The odd thing is that if you wire an indicator to the deleted element output of the VI, the problem goes away. I have attached a sample set of code. Any suggestions as to what might be happening. Is this a legitimate code bug.
Troy
0 Kudos
Message 1 of 2
(2,650 Views)
This is a known bug and will almost surely be fixed in the next version of LabVIEW (wink, wink). These types of bugs are not uncommon. If there is an output, not wiring to it has been known to cause unexpected behavior and memory leaks some primitives. I remember hearing of one in the new 6.1 notifier primitives, I believe. NI is working on fixing all of these.

-Jim
0 Kudos
Message 2 of 2
(2,650 Views)