07-20-2006 09:28 AM
Hi,
I've built an exe and an installer for a Labview7.1 app and in the application builder I have ticked the option for including serial port support. In the app. I've used the VISA I/O controls which are automatically populated with the available ports to select the port. When I install the exe on a "clean" machine, ie, one with no NI software installed, these VISA I/O controls list the COM ports as ASRL1::INSTR,etc and they don't work.
These are the steps I've taken to rectify the situation:
1) I found that the version of VISA on my development machine was old, so I upgraded to v3.3. I then rebuilt the app and reinstalled it on the clean machine. No change. (I did however notice that the Visa32.dll on the development machine was v3.3.0.49162 and the one on the other machine was v3.1.0.24.)
2) I Installed MAX on the clean machine. "Devices and Interfaces" was not present in the configuration pane, so I could see or do nothing.
3) I Installed VISA from the Device Drivers for Data Acqisition CDs. No Change.
4) I ran MAX again to check the aliases. All OK. Problem is fixed! Ports now appear as COM ports. But if I connect a USB COM port it shows up as ASRL4::INSTR until I run MAX again.
Obviously this solution is not practical for an .exe application. What really confuses me is that I have created numerous exe applications before which use serial coms and I've never had this problem.
Thanks,
Mike
07-20-2006 02:36 PM