Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

add instr drivers to labview executable output

Hello,

I have a labview project that uses Lecroy oscilloscopes a Yokogawa wattmeters drivers. My ITD already generated a package to install in our computers labview runtime and asked me to avoid to generate a program installer but generate an executable. Now I have the problem that copying my labview application executable into a pc with labview runtime engine it works but the connections with instruments doesn't work because the PC doesn't have the drivers. Is there a way to add the instruments drivers in the labview executable, or is there a folder in the labview runtime where I can just drop the files? Can I generate a labview installer with just the instruments drivers?

thank you very much for the support

Michele

0 Kudos
Message 1 of 6
(3,824 Views)

Normally I either build an installer for a complete system including all drivers. Or I do not build a system at all.

If you have the licenses to install LabVIEW on more places, you can also simply install the instrument drivers in the same folder as in the development system. If the LabVIEW runtime works it should also load the drivers. Do not forget to install VISA on those systems.

greetings from the Netherlands
0 Kudos
Message 2 of 6
(3,810 Views)

The problem is that in labview drivers are installed in instr.lib folder while in the runtime there isn't that folder and I cannot find where it places the drivers. I tried to do a full installer and launch it on a virtual machine to see where it places them in the runtime installation but I cannot see where it goes.

Thanks for your support

0 Kudos
Message 3 of 6
(3,807 Views)

The full installer places all vi's in the exe.

If you place the instrument drivers in the same folder as your machine it could work.

 

What about the program itself, and why not include the drivers in the exe you build.

And I already asked: Did your IT department also an installation of VISA completely.

greetings from the Netherlands
0 Kudos
Message 4 of 6
(3,805 Views)

yes my IT already install VISA. For the drivers I don't know how to include them in the exe. Do you have any idea?

Thank you for the support

Michele

0 Kudos
Message 5 of 6
(3,804 Views)

hello,

sorry for the delay but I solved: I discovered that an additional driver was installed by ITD to manage yokogawa wattmeter and this was creating problems with labview. Uninstalling it everything works fine.

thank you for the support

Michele

0 Kudos
Message 6 of 6
(3,655 Views)