03-04-2013 10:28 AM
I'm currently working on an application that identifies a usb-serial connector that is plugged into a computer using VISA calls to generate a list of attached devices, then filter them by the appropriate name (see file below). Now, on my development systems, this works perfectly fine. It detects the proper USB port, and connects to the targetted device (the communication is handled using a separate DLL - integmotorinterface.dll - that requires a COM port location. In the desktop, the subVI returns "COM13" on the usb port I usually plug it into). My problem lies in connecting using one of our deployment computers. I compiled the application and installed it on the computer, and the VISA calls do not return any USB devices, even without filtering. I assume that this might be due to a missing VISA driver on my system, but I'm facing an issue with that. In the installer, I try to install NI-VISA runtime engine, but I am told that I have none of the NI-VISA files for the installer. Is there a separate installer I can use to install the VISA driver on my laptop? Is there a way I can get it set up to install automatically with the main application installer?
Thanks for any help.
03-04-2013 10:46 AM
Yes, you need the NI-VISA runtime. When you installed LabVIEW, you must have used the driver DVD to also install it and that is what the installer is now looking for. When you find the DVD, you then have the option of installing it locally so you won't be prompted again.
You will also need to include the USB-RS232 driver in your installer.