Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my com port appears as asrl?

All,

 

I am having some issues with a program that I am writing.

 

When I run the VI below, I can see the COM ports come up as COM1, COM3, and LPT1. On any other computer, I see them as ASRL::INSTR1, ASRL::INSTR3, and ASRL::INSTR10. On the other computers, I have Labview 2010 runtime installed.

 

Do I not have the correct VISA version installed or something?

 

Eric

0 Kudos
Message 1 of 12
(11,325 Views)

ASRL is the actual canonical VISA resource name. Comx is an alias. You can add an alias in MAX. You say you are running a LabVIEW runtime. That implies a VISA runtime as well. Did you export the hardware config on the development pc and import that on the pc's running your exe? This is an option when you create an installer.

0 Kudos
Message 2 of 12
(11,322 Views)

I don't think that I have. I've always exported the EXEs and they've worked.

0 Kudos
Message 3 of 12
(11,318 Views)

How do I export the hardware config? I've always used the "Build Application (EXE) from VI".

0 Kudos
Message 4 of 12
(11,314 Views)

As I said,it's an option when you create an installer. It's also an option inside of MAX (both import and export). Just look under the file menu.

0 Kudos
Message 5 of 12
(11,311 Views)

OK, I've exported my hardware configuration. Now, how do I import this to the PC running the EXE? This only has the Labview runtime installed.

 

Sorry about all the questions. First time I've done this and it's a learning experience.

0 Kudos
Message 6 of 12
(11,304 Views)

I would have recomended creating an installer. This would have included the LabVIEW runtime, the VISA runtime, the hardware config, etc. I always include MAX as part of the installer as well. Installing MAX is probably going to be the easiest option.

0 Kudos
Message 7 of 12
(11,302 Views)
0 Kudos
Message 8 of 12
(11,279 Views)

Dennis,

 

I now see where the installer is, but one of the CDs I don't ahve was the LV2009 Real Time Module. Is there a stand alone install that I can use?

 

Eric

0 Kudos
Message 9 of 12
(11,275 Views)

You do not need the real time module

greetings from the Netherlands
0 Kudos
Message 10 of 12
(11,273 Views)