11-12-2012 11:19 AM
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.
Solved! Go to Solution.
11-12-2012 01:30 PM - edited 11-12-2012 01:30 PM
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.
11-12-2012 03:41 PM
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.
11-12-2012 04:13 PM
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.
11-12-2012 04:31 PM
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.
11-12-2012 04:48 PM
@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...
11-12-2012 05:22 PM
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.
11-12-2012 05:32 PM
@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. 😞
11-12-2012 05:58 PM
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.
11-12-2012 05:59 PM
s/b "least favorite structure".