05-15-2013 11:19 PM
Hi,
I have created an application vi which uses several instrument drivers for its operation. I have put all those drivers in instr.lib folder. I know that for creating an application & installer for my vi, I need to first create a project for the same. Now, the question is do I need to include driver vis or simply driver folders which are present in instr.lib in my project? and will the installer automatically put all the drivers to instr.lib during installation of the application in a new machine?
Thanks in advance!
05-16-2013 12:26 AM
Hi,
If you have used those driver VIs statically in your main program, then it will be included in the EXE and therefore in the installer as well...!!
But if you're dynamically loading the driver VIs (it seems you're not doing so) then you may need to include these drivers in the project and also in the 'Biuld Specification' of EXE using 'Source Files' category.
05-16-2013 03:35 AM - edited 05-16-2013 03:36 AM
Hello mnx,
Open the selected folder and do current folder then it will include all the files in that folder.
Let me know whether it answers your doubt.
05-24-2013 09:33 AM
Hi,
I am using Agilent 6000 series labview driver in main vi and creating a project for the same. The problem is, while including this driver in the project, labview opens up nearly 350-400 vi windows one by one on the desktop and thus is unable to include that in project. Any take on this?
05-24-2013 10:40 AM
@mnx wrote:
Hi,
I have created an application vi which uses several instrument drivers for its operation. I have put all those drivers in instr.lib folder. I know that for creating an application & installer for my vi, I need to first create a project for the same. Now, the question is do I need to include driver vis or simply driver folders which are present in instr.lib in my project? and will the installer automatically put all the drivers to instr.lib during installation of the application in a new machine?
Thanks in advance!
That would be very dangerous! your application should not depend on LabVIEW xxxx\instr.lib to exist on the target machine since only the RTE is needed to run a LabVIEW executable. Worse, if in fact you did deploy your exe to a machine that has a development installation and you depend on source code in instr.llb the first time one of those driver vi's got modified your app would break!
Luckilly, the exe will include every vi it needs to run including instrument drivers.
Not to be confused with Device Drivers like VISA and DAQmx those Device Drivers that your application uses will need to be included in the installer for your exe.