LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"shrinking black square" appears when some search results for "Array Constant" are double-clicked.

Solved!
Go to solution

In the process of troubleshooting an array size problem, I performed a Ctrl-F search after having selected an Array Constant.  I find a lot of array constants  in the Search Results.  However, several of these results (most behave normally), when the item in the search results is double-clicked, momentary display a black square, about the size of  a standard icon, which immediately shrinks to nothing.  There is no selection outline indicator.  I used that lovely utility ShowAllControls&TabCtrl.vi to unhide all controls but nothing appears at that location.  

 

Has anyone enountered this?  So far it is just a nuisance. I am not at liberty to post the code which was developed by a third party.  I would do a screen capture but the black square disappears too quickly.

0 Kudos
Message 1 of 13
(3,118 Views)

I vaguely remember something like this.  In my case, the disappearing data existed in the form of data types in queue references.  It could be quite a ways from the original ref, depending upon the size of the data cluster in the queue.  You can get the same result from other things, such as notifiers.  If you have any of these references with an embedded array constant, this may be the source of your disappearing items.

0 Kudos
Message 2 of 13
(3,109 Views)

I suspect something of that nature.  I am not using queue references for do have a complex event structure driving the whole thing.  Sometimes another nearby object will be outline after the black square disappears but usually not.  It definitely a quirk, possibly a bug.

0 Kudos
Message 3 of 13
(3,085 Views)

I have seen that.  The shrinking black square is drawn in the wrong spot (apparently a bug in the editor).  There is a selection outline around the found object, but the object is off-screen.  Try scolling around to find it.

0 Kudos
Message 4 of 13
(3,081 Views)

This is a complex VI with hundreds of objects, many in an event structure and case structures.  I have no hope of finding more than ten of these objects by scrolling around.  Heck of a bug.

0 Kudos
Message 5 of 13
(3,078 Views)

@wildcatherder wrote:

This is a complex VI with hundreds of objects, many in an event structure and case structures.  I have no hope of finding more than ten of these objects by scrolling around.  Heck of a bug.


Is it too late to suggest creating sub-VIs to shrink your BD?  Maybe you are close to the BD max size?  That could cause strange behavior...

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 13
(3,071 Views)

If I had not inherited this "elephant" I would be the first to agree with you.  If nothing worse than this "mystery" occurs, I'm too close to completion to be "shrinking it now".  There are already at least three levels of VIs.

0 Kudos
Message 7 of 13
(3,067 Views)

@wildcatherder wrote:

If I had not inherited this "elephant" I would be the first to agree with you.  If nothing worse than this "mystery" occurs, I'm too close to completion to be "shrinking it now".  There are already at least three levels of VIs.


Ugh, yeah I've inherited a few of those.  Only the developer before me loved his nested STACKED SEQUENCE STRUCTURES... helllp!  😉

 

Sorry I have no solution for you.  😞

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 13
(3,065 Views)

Stacked sequences are for people who like to play "mental chess"  (without a board) - also my list favorite structure.  What good is a "tidy" block diagram, if you can't follow what is going on.

 

Thanks for trying.

 

I'm just moving on to the last set of loops now.

0 Kudos
Message 9 of 13
(3,061 Views)

s/b "least favorite structure".

0 Kudos
Message 10 of 13
(3,060 Views)