LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the VISA resource drop down menu to be auto populated in my stand alone application (exe file)?

Solved!
Go to solution

Hi all,

 

Here's a hopefully simple question.

 

I am building an application (i.e. an exe file) from a simple program which use VISA to read and write to a RS-232 com port. When I run it before building the application everything works fine and the VISA resource control, which is a drop down menu, is automatically populated with available com ports. When I run the application on a computer without LabVIEW installed nothing appears in this window. I have made an installer which includes NI LabVIEW Rutime Engine 8.5, NI Measurement & Automation Explorer 4.3 and NI-DAQmx 8.6.1. Is there anything else I need to include? Any specific settings I need to do when I build the exe-file?

 

I use LabVIEW 8.5.

 

Thank you.

0 Kudos
Message 1 of 2
(2,717 Views)
Solution
Accepted by topic author cmh

DAQmx is only for NI DAQ cards so I'm not sure why you installed that. The driver for VISA applications is NI-VISA (surprise!)

 

Add the NI-VISA run-time to your installer.

0 Kudos
Message 2 of 2
(2,708 Views)