08-02-2011 12:49 PM - edited 08-02-2011 12:50 PM
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
08-02-2011 12:58 PM
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.
08-02-2011 01:00 PM
I don't think that I have. I've always exported the EXEs and they've worked.
08-02-2011 01:08 PM
How do I export the hardware config? I've always used the "Build Application (EXE) from VI".
08-02-2011 01:11 PM
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.
08-02-2011 01:29 PM
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.
08-02-2011 01:33 PM
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.
08-04-2011
08:27 AM
- last edited on
05-21-2024
09:36 AM
by
Content Cleaner
You can refer to this page in the LabVIEW Help: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/resource/framework/providers/builds/instal...
08-04-2011 10:10 AM
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
08-04-2011 10:21 AM