LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating LV application & installer

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!

0 Kudos
Message 1 of 5
(2,407 Views)

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.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 5
(2,395 Views)

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.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 5
(2,370 Views)

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?

0 Kudos
Message 4 of 5
(2,338 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(2,320 Views)