Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8.5 executables can't find serial ports. Drop down box only says "refresh".

LV 8.5 executables can't find the serial ports on my computer. I have a control box on the input of the serial VISA so I can select the comm port I want to use. My labview 8.5 exe Drop down box only says "refresh" it doesn't show any comm ports. Using Labview 7.1 when you created the executable you would select (comm port support) in the advaced options.  Is there something that does the same thing in labview 8.5 that I'm missing? FYI- I'm developing on an XP and deploying on Vista.
0 Kudos
Message 1 of 8
(6,843 Views)
Hey acalmeyn,
Sorry to hear that you're having trouble with your program. First thing I would do in debugging would be to check the drivers that you have on the targeted machine. It would be best to have the most updated drivers for any of your applications, and they can be found on NIs website in the Drivers and Updates section. Since you are able to view and run the program, you will most likely need to get NI VISA. There may be other drivers that you need, but without more information, VISA is the only one I would recommend for now.

Hope this helps
Can Wong
0 Kudos
Message 2 of 8
(6,830 Views)

I don't think it is a driver issue since I can use the serial port on my target computer with the default window hyper terminal and, when I use the windows control panel I can view my comm port is working and is set to Comm 1 . I would think that would tell me the driver is ok and working properly as far as windows concern. So are you talking about a driver that I need to install so that the Labview executable's will know how to interface with the Windows Vista Comm port drivers? If so then there should be a way to get this driver to install automatically when installing the executable on the target machine. I’m basing this on the fact that you had to do the same thing with Labview 7.1 executables. When creating the exe in LV 7.1 you would click the advanced tab and select comm port support. If you didn't do this in LV 7.1 you would get the same results I'm getting know with LV 8.5. Which is the target computer running the LV executable doesn’t know how to query the system to find the comm port on the system.

 

Thanks for the help

Andy

 

0 Kudos
Message 3 of 8
(6,825 Views)
Hyperterminal has absolutely nothing to do with the correct driver for LabVIEW. LabVIEW uses NI-VISA for serial port communication. That is why the front panel control is called 'VISA Resource Name'. You mentioned that you used to select serial port support in LabVIEW 7.1. You have to do something similar in 8.x. When you build the installer, go to the additional installer page and select NI-VISA Run-time as a minimum. You can also include MAX and NI-VISA Configuration Support.
Message 4 of 8
(6,821 Views)

I bet that is it. I will repost my results tomorrow if it works. So other blind knuckle heads such as my self  will have a final answer to my posted question.

0 Kudos
Message 5 of 8
(6,815 Views)
That was the problem. I didn't click the VISA support when building the exe.
 
Thanks for the help
0 Kudos
Message 6 of 8
(6,762 Views)

Hi,

I have the same problem. but not finding this option to set anywhere.

Could you please explain more clearly.

Thanks.

Sia

0 Kudos
Message 7 of 8
(6,189 Views)
In 8.x, in the project explorer, create an installer and then go to the Additional Installers category. You need to select NI-VISA run-time and you can also export the settings in MAX.
Message 8 of 8
(6,179 Views)