04-14-2016 10:31 AM
Hello. I made exe file and installer in order to use my program on another computer where LabVIEW is not installed. Program is to control DC power supply Agilent 5771A which needs additional driver to communicate with PC but when I dont have installed LabVIEW I dont have a folder where I can install the driver. Is there any installer which I have to include when I build installer for my application?
Thank you very much for advice.
Solved! Go to Solution.
04-14-2016 01:26 PM
04-14-2016 03:46 PM
Do you use VISA name to address instrument? Then you need VISA run-time.
FIrst you need to make sure windows instrument driver is installed (device is correctly listed in device manager). It can be VISA run-time, drivers of the instrument, virtual com-port, etc. They know nothing about LabVIEW and do not require its folder.
LabVIEW "drivers" is a wrapper that finally calls driver DLLs. When you build your app, they are included into exe, no need to install them separately. Check you did not exclude vi.lib or instr.lib files from exe build.
Sometimes there is intermediate DLL between driver and LabVIEW VIs, then you need to include it into support folder of the exe. If you do not include all required DLLs, when you start your app, it will say that it is missing.
04-14-2016 04:34 PM - edited 04-14-2016 04:36 PM
Thank you for advices.
Yes driver is only .VI plus some files .mnu
Yes I use VISA name to address but I didnt include it into my build so probably thats the problem.
I use USB cable to connect power supply with PC, but there is problem that PC doesn´t even recognize it. Is there any option to solve that?
Thank you