LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

searching through vis, which are password protected

Hello All
Is there a way to tell LabVIEW not to try to search (or open for searching) vis which are password protected.
I have a lot of vis in memory (900) and some of them are password protected (about 400). While searching through them LabVIEW is asking for a password to every of them. That makes the search impossible. I would rather like to ommit the files which are password protected than clicking cancel 400 times on every dialog.

thanks in advance
Pawel
0 Kudos
Message 1 of 5
(2,794 Views)
In your search routine, insert an Invoke Node set to the 'Get Lock State' attribute. The output of this will tell you if the VI is password protected or not. If it is, you can skip searching it.

If you need more details, let me know.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 5
(2,794 Views)
Hi Ed
Thank you for the answer, but I forgot to tell that I am using the shortcur CTRL+F and use the standard LabVIEW search feature.

regards
Pawel
0 Kudos
Message 3 of 5
(2,794 Views)
I'm not aware of any way to modify the behavior of the built-in search function. There may be an undocumented ini setting that the NI folks might be willing to tell us about.

If this a big problem that will be happening often for you, you might consider building your own search tool. Using a combination of Property and Invoke nodes, you can do some pretty complex functions and make some really nice tools that work just the way you need. Somebody may already have one their willing to share.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 5
(2,794 Views)
I understand, thank you.
The tool in LV is very fine and it works without any other problems. It just need a little mark, like ignore password protected vis, and thats all.
On the other hand the last time I made a search it took me about 5 mins just to click the cncel button, when it asks for password. That means that I do not use it too often.

thanks a lot
Pawel
0 Kudos
Message 5 of 5
(2,794 Views)