LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

an EXE under 8.5.1 runtime engine can't find VISA drivers

Apologies in advance for newbie question.
I built a simple app (EXE) that uses PC serial port, using VISA drivers.
Works OK on one Dell PC, not OK on another.  Not exactly sure what to try.
The failure occurs when code hits the "Visa configure serial port" block.
See attached bitmaps for error message and offending block.
Do the Visa drivers need to be installed by me on the PC ?
 
 
Download All
0 Kudos
Message 1 of 4
(3,228 Views)
Yes, of course they need to be installed. You should be creating an installer for your app and when you create the installer, you have the option of including a VISA run-time, MAX, a MAX hardware config, etc.
0 Kudos
Message 2 of 4
(3,214 Views)

Hello Remerlin,

Did you just create an exe, or did you create a full installer.  If you are going to deploy an application that uses functionality such as VISA, or LabView Runtime, you need to create an installer and include the additional installers such as VISA.  The following is a link to a tutorial on how to do this.

http://zone.ni.com/devzone/cda/tut/p/id/5406

When creating the installer, go to additional installers under categories (in installer properties) and make shure VISA, and LabView Runtime are checked, as well as any other functionality you will be using.

Regards,

Ben Cook

0 Kudos
Message 3 of 4
(3,213 Views)
OK, thanks.  The "non-working" PC has LV 7.1 installed so I was hoping that my EXE would run without further messing around.  I'll work on building an installer next time around.
 
Rick
0 Kudos
Message 4 of 4
(3,181 Views)