LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

instr.lib or user.lib?

Hi, I want to publish some professional LV drivers for our hardware. Intuitively, I supposed that the right installation folder would be "instr.lib". Nevertheless, the NI Driver and VI Library Development Guidelines" (http://zone.ni.com/devzone/cda/tut/p/id/6395) explicitely says that the driver should be in "user.lib". What is then the common practice for commercial drivers? Then I am also wondering: what is the purpose of instr.lib if all drivers and user VIs should be in user.lib??? Thanks
0 Kudos
Message 1 of 3
(4,240 Views)
Basically, it comes down to whether NI distributes them, or you do. NI-distributed instrument drivers typically install into the instr.lib directory. NI wants everyone else to install their stuff into user.lib. My guess? Probably to reduce support issues so they're not blamed if someone has a problem with your drivers and they assume they're distributed by NI since they're in the instr.lib directory.
0 Kudos
Message 2 of 3
(4,234 Views)
I think the statement about placing drivers in the user.lib folder is a bit confusing since the Instrument Driver Guidelines says to place the instrument driver in instr.lib. If you submit your driver to NI for certification and it ends up getting placed on the instrument driver network, the instructions there will tell you to unzip it to instr.lib. I can understand placing any custom tool in the user.lib but to me, it just doesn't make any sense to place instrument drivers in any location other than instr.lib.
0 Kudos
Message 3 of 3
(4,229 Views)