LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bookmark Manager - ignore certain directories / files / classes / libraries

Solved!
Go to solution

Before raising this as an idea and/or rolling my own, I thought it wise to check to see whether this exists already.

 

I've got a large application with bookmarks all over the place. When I load the bookmark manager (and when it periodically refreshes), it scans through all VIs in the project.

 

This is great, except I have a particular class which has quite a few members, many of which reference some DLLs. When the Bookmark Manager searches for bookmarks, there are a few VIs which seem to struggle to locate these DLLs. The loading window pops up, with the expected path and the current search directory. Oddly, despite the expected path being correct, LV seems to search through the LV directory first and then, having given up, actually checks the expected path. A mass compile doesn't seem to prevent this search.

 

Some of these members have notes in the block diagrams with hashes in ('output #1, output #2' etc) which were never intended to be bookmarks when they were first written - it would be nice never to have to see them, and avoid the five minutes of searching for DLLs that occurs.

 

It'd be great if the Bookmark Manager allowed you to exclude files and/or folders to search for bookmarks. Does anyone know if this functionality already exists somewhere, or is it something I'm better off doing myself?

---
CLA
Message 1 of 4
(2,651 Views)
Solution
Accepted by thoult

Hi thoult,

 

This is expected behaviour from the bookmark manager, as outlined in the "Managing Unfinished Tasks in LabVIEW" section in the following help file:

http://zone.ni.com/reference/en-XX/help/371361K-01/lvupgrade/labview_features/

 

As far as I am aware you cannot change this. Please see below a similar idea in the Ideas Exchange:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Bookmark-Manager-Project-Dependencies/idi-p/2530246

 

The person who posted the above idea went on to extend the Bookmark Manager for their own use, see here. This might give you some inspiration before "attacking it yourself".

http://forums.ni.com/t5/LabVIEW/Bookmark-Manager-Dependencies/td-p/2529166

 

Please do let me know if I can be of any further assistance 🙂

 

 

Maria McKavanagh

FSE West London & Surrey
National Instruments UK & Ireland
0 Kudos
Message 2 of 4
(2,567 Views)

Yeah modifying the bookmark manager isn't that hard, and the API supports multiple bookmark managers.

 

https://decibel.ni.com/content/docs/DOC-31854

Message 3 of 4
(2,560 Views)

Thanks Maria - and Hooovahh, I'd come across your idea and rolled my own afterwards. It currently uses a path comparison in BMark_Get VIs and looks for a common path, but I've got a feeling I'll find a nicer way of doing it in future.

---
CLA
0 Kudos
Message 4 of 4
(2,552 Views)