LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find Text not working

I'm trying to find some text in my VI and LabVIEW isn't cooperating. I see a dark rectangle flash on the screen at an arbitrary location that is offset by some seemingly random amount from the actual text that was found. This happens pretty much any time I search within the large VI I am working on. Haven't noticed it in smaller sub-vi's. This VI was written by someone else prior to my employment within the company and I am trying to sustain some old, poorly written code...but trying to find stuff is proving to be nearly impossible...Any idea what would be causing this?

0 Kudos
Message 1 of 10
(4,194 Views)

Please, show your search settings

0 Kudos
Message 2 of 10
(4,189 Views)

The text you are searching for is probably located within a comment block that has a transparent border and background and is oversized.  WHen you search for a word, the whole comment block is highlighted for a moment and then focus is concentrated on the word you're looking for.  Try searching for a word in this VI and see if you get the same effect.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 3 of 10
(4,185 Views)

Is the text on the front panel or diagram?

If it is on the front panel, it it possible that the indicator is hidden? On a different tab? Behind another control?.etc.

 

Can you reduce your VI to a few FP objects hat still show the behavior? Save it under a new name and attach it here.

What is your LabVIEW version? OS?

0 Kudos
Message 4 of 10
(4,179 Views)

My issue is on the block diagram, not front panel. Also, it is a text field that I am looking for, but it is well bounded. When I see the dark flash, it is the same size as the text, not a large box. However, that dark rectangular flash appears off page. FWIW, this code spans multiple pages...much scrolling must be done to see the whole VI. Very painful, but more painful that I can't easily search and locate specific text. I imagine that this multi-page design may be contributing to the problem...like LabVIEW can't figure out where the origin is or something.

 

See attached for screenshot of search settings dialog.

0 Kudos
Message 5 of 10
(4,170 Views)

Problems occur if the diagram size exceeds certain limits. Where is the origin and what is the size of the  diagram in pixels?

0 Kudos
Message 6 of 10
(4,165 Views)

As big as this VI seems, it's nowhere near the maximum...looks like it's around 5000x6000 pix. Not sure how to find the origin in the block diagram...how do I do that?

0 Kudos
Message 7 of 10
(4,155 Views)
Diagram size can be found in Tools -> Profile -> Metrics (or something to that effect. Not at my PC to be sure.).
aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 8 of 10
(4,146 Views)
If you have any elements that are more than 2^16 pixels away from the origin in any direction, strange things start happening.
aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 9 of 10
(4,143 Views)

After working with an NI Apps Engineer, we discovered that this is a bug in LabVIEW 2014 that has been fixed in 2015. I just upgrated to 2015 and the problem resolved itself.

0 Kudos
Message 10 of 10
(3,943 Views)