04-30-2022 03:43 PM
I would like to customize some of the standard Ini file functions. I know enough not to edit VIs that are distributed with LabVIEW so I would like to copy and then customize NI_LVConfig.lvlib.
I found this Knowledge Article on the subject: “How Can I Edit and Move Libraries in vi.lib to a Different Location?”
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g0RpSAI&l=en-US
In my case I want to copy ALL the VIs owned by NI_LVConfig.lvlib.
Q1:Will doing so makes copies of all the VIs belonging to the lvlib or simply make a copy of the single NI_LVConfig.lvlib file?
The article doesn’t caution about references. In the Save As dialog it states, “Does not update referencing files outside of the library to refer to the copies.”
Q2: Since I opened the NI_LVConfig.lvlib from Windows Explorer (not within a LV project) and it will be renamed, and since lvlib's have namespacing, then do I need to be concerned about references?
Also, I have an existing project that uses some of the top level Ini file functions in the “Configuration Files Vis” palette.
Q3: Is there a relatively simple way to replace those Vis from NI_LVConfig.lvlib with the new corresponding Vis from My_LVConfig.lvlib? I realize I can do a Find and Replace of them but wondering if there is another way to “override” them. There are only 9 of these top level Ini function so wouldn’t be too bad, but a Find will not find them inside of dynamically loaded Vis.
Q4: What about VI icons? Is there some handy way to update them all?
Q5: Should I save the new lvlib under User.lib folder or to my own project tree?
Thanks in advance!
Solved! Go to Solution.
05-01-2022 02:04 AM