LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot find com port in the VISA resource name box

Dear expert:

I am a new hand, hopefully my question is not too silly.

I have developped a program in my computer (os: windows 7 enterprise) using Labview 2013, it works well. then, I built the installer, i am pretty sure that i have checked the VISA run-time engine (2013) when i built the installer. after i have installed the program on another computer (os: windows xp), the VISA resource name box only shows "refresh". The computer (windows xp) have several COM port.

Attached is part of the original code, did i miss something? how to fix it?

Thank you for the help!

Message 1 of 8
(5,049 Views)

Code looks fine.  Code wouldnt have any affect on the ports showing up in your build either.  That is probably a visa run-time engine.  I would create the installer again and then ensure visa is intalled on the computer.  Maybe install ni max and check that visa is installed.



-Matt
0 Kudos
Message 2 of 8
(5,033 Views)

Hi, Matt:

Thank you for the reply. I will try to rebuild the installer. 

meanwhile, I have another question: if i install VISA driver on the computer ( windows XP), will that help? actually, i do not really know what is the difference between VISA driver (which is super big) and VISA run time engine (which is smaller), can you tell me what is the difference? usually, do we need both or just one of them, and which one?

0 Kudos
Message 3 of 8
(4,978 Views)

The VISA driver that is big, has all the development tool that you need with making a program. 

 

The VISA run-time has one the driver that is needed to run a program that make use of VISA. 
This is to ensure that you do not need to install a lot of unused stuff, and that the installer gets too big. 

0 Kudos
Message 4 of 8
(4,964 Views)

again, thanks a lot!

suppose I have installed the visa driver on my distributor computer, I just need to build the application exe file, and copy it into the distributor computer to run the program, does that sound correct?

0 Kudos
Message 5 of 8
(4,943 Views)

Hi peter,

 

you should only need to install the visa run-time engine on the distribution computer, but if you have the whole visa driver package then no harm done except you have a larger install for the user.  If you have the full visa driver installed then yes all you need is the executable file and it should work.



-Matt
0 Kudos
Message 6 of 8
(4,937 Views)

I include

VISA run-time

VISA configuration support

NI-serial configuration. NI-serial run-time is included, so no need to include it separately.

I think the last one is the key, check if visa installer includes it, but I believe I downloaded it separately 

http://www.ni.com/download/ni-serial-14.0/4814/en/

Message 7 of 8
(4,922 Views)

Alexander,

 

Good call, i forgot about the serial installs. I assume visa install includes them, but i wouldnt garuntee it.



-Matt
0 Kudos
Message 8 of 8
(4,918 Views)