‎06-22-2015 07:23 AM
Hi,
(LabVIEW 2013 SP1)
We are using LabVIEW to develop on multiple stations and we use source code control application to control the version and compatibility of the VI's.
We are using many third party (not NI) instruments and we "install" their drivers at -
C:\Program Files (x86)\National Instruments\LabVIEW 2013\instr.lib
This creates some difficulties since this folder is external with respect to the SCC application so this resource is not version controlled, whether someone downloads a different version or one add/changes another feature.
It will be easier also to copy the development folder from one computer to the other.
1. Is it possible to change the default behavior of LabVIEW Environment to load drivers to the Intrument Drivers palette?
2. What do you recommend ?
Amitai.
‎06-22-2015 07:54 AM
There are a few options here for you.
1. Just put the drivers in your project folder and edit them to look at their new location instead of instr.lib. That should be just a matter of loading them and resolving the conflicts.
2. Use VIPM to make packages of the drivers and then everybody can install the packages. This way they know what version is getting installed.
‎06-22-2015 08:16 AM - edited ‎06-22-2015 08:18 AM
Hi crossrulz
Thank you for your answer.
However, I don't see how any of these options can give me the same functioning as I have now using instr.lib .
For your first suggestion -
In order to NOT use the Select VI option whenever I want to add one of the driver's VI's to the block diagram, I would still have to create the palettes using the dir.mnu files, I believe this is fairly easy (Tools>>Advanced>>Edit Palette Set), but I will have to do it in every development PC, and for every currenct and future driver. I think there should be something easier.
For your second suggestion - this only helps the version maintenance...
What if one developer would like to add another VI to the driver or to edit one ?
I am using Teststand, so for development I am not using the Project structure. The only project I have is just to compile the UI. I don't have a main VI, and the files (VI's and drivers) are loaded according to the user choice of sequence file.
‎06-22-2015 08:16 AM
‎06-22-2015 08:19 AM
this I will have to ask the IT department 🙂
‎06-22-2015 08:30 AM
‎06-22-2015 08:32 AM - edited ‎06-22-2015 08:34 AM
I know I am asking the same question... but I still think there should be an easy solution -
Is there a way to create an external folder (external from the LabVIEW 20XX folder) that if I put a driver inside (downloaded from NI.com/idnet) , there will be a palette in LabVIEW that will be populated automatically ?
(just like the we use - C:\Program Files (x86)\National Instruments\LabVIEW 2013\instr.lib,
What makes this folder so unique? I can't find it in the LabVIEW.ini file... is it coded into LabVIEW ?)
‎06-22-2015 08:57 AM
‎06-23-2015 03:59 AM
Hi Dennis,
I am sorry if I made you angry,
I don't have much experience with the .mnu files and while playing a bit with linking a subpalette to an instrument driver folder outside of the instr.lib (lets say the default - Agilent 34401) I ran into some unexpected issues, So I thought about asking the forum.
I am trying to learn more about this instr.lib linkage via the Project, the lvlib properties and url's, the search paths, and about the .mnu structure.
Thanks.
‎06-23-2015 08:17 AM