12-01-2022 11:19 AM - edited 12-01-2022 11:20 AM
When you do a search for something on the block diagram, a rectangle zooms in on an area to draw the user's eye to the result.
In this case, I am searching for a text string and I get three search results (expected).
When I double click on the second or third results, the search homes in on the correct area, but the first search results causes LabVIEW to home in on a blank area of the block diagram. I have attached a small video of it happening.
I have noticed this before on many versions of LabVIEW going back many years and never found the reason why it happens - I thought it was about time I tried to find out why.
(This version is LabVIEW Professional 2022 Q3 (32-bit). It's running on a laptop with a 4K screen with a second 4K monitor. It doesn't seem to matter whether I do this on the laptop screen or the extended monitor.
I have tried quitting and restarting LabVIEW but get the same results.
Is this a known bug?
Is there a fix / workaround?
How do I actually find the item I am looking for (because it's driving me mad)?
Thanks.
12-01-2022 11:42 AM
@magicbean wrote:
When you do a search for something on the block diagram, a rectangle zooms in on an area to draw the user's eye to the result.
In this case, I am searching for a text string and I get three search results (expected).
When I double click on the second or third results, the search homes in on the correct area, but the first search results causes LabVIEW to home in on a blank area of the block diagram. I have attached a small video of it happening.
I have noticed this before on many versions of LabVIEW going back many years and never found the reason why it happens - I thought it was about time I tried to find out why.
(This version is LabVIEW Professional 2022 Q3 (32-bit). It's running on a laptop with a 4K screen with a second 4K monitor. It doesn't seem to matter whether I do this on the laptop screen or the extended monitor.
I have tried quitting and restarting LabVIEW but get the same results.
Is this a known bug?
Is there a fix / workaround?
How do I actually find the item I am looking for (because it's driving me mad)?
Thanks.
This is because what you are searching for is hidden.
12-01-2022 12:07 PM
@billko
Yes, that's what I thought only I couldn't work out how to get hold of it. Whatever it is, it didn't seem to be selected after the search and the VI Analyzer doesn't report it.
I tried hitting delete after the search in case it was selected but that didn't affect the search results.
Then I tried all combinations of the 'hidden' checkboxes in the search ('hidden labels' and hidden data and parts' in Search > More Options...).
Once I turned those off, the search didn't find the string constant. But weirdly, now that I have turned them on, it still doesn't find the string.
Absolutely no idea what changed but it feels like there was some stray data that search was finding and changing the checkboxes somehow cleaned it up. Maybe.
12-01-2022 12:57 PM
I don't think there is a way to hide things on the block diagram (except underneath other objects). Could it be your code is near the i16 range boundaries of valid coordinates?
Still, I am pretty sure I've seen similar issues, so there could be a subtle bug.
12-01-2022 01:45 PM
As it has now vanished, I don't know exactly where it was but .... I placed a constant at [0, 0] on the block diagram and it looks like about the same place to me. So I froze a still from the video, resized a screenshot with my constant at [0,0] overlaid them with difference layer to get them the same size (to within a pixel or two) and voila, the mysterious vanishing search box looks to be at exactly (0,0).
Make of that what you will!
12-01-2022 02:59 PM
Probably a transparent label. Why do you use a black BD BG color? You are just asking for trouble.
12-01-2022 03:26 PM
Sorry, I can see why that’s confusing. The background of both images are white.
The black is the result of an exclusive OR between the two images. It just proves that the images were aligned!
12-01-2022 09:34 PM
@magicbean wrote:
Sorry, I can see why that’s confusing. The background of both images are white.
The black is the result of an exclusive OR between the two images. It just proves that the images were aligned!
I just had a thought inspired by your post about the search ending up at the origin. Maybe it doesn't really know where it is!
12-02-2022 02:03 AM
BTW, anybody knows what's that "Filter" half transparent text that frequently appears on the BD?
12-02-2022 07:34 AM