Hello!
The reason you get these errors is due to the fact that VISA references native serial ports and the parallel port on a computer as ASRL1::INSTR, ASRL2::INSTR, and ASRL10::INSTR, respectively. Aliases, like COM1 and such however, are assigned by MAX. These alias names are not automatically transferred to the Run-Time computer. So if your program refers to serial port as COM1 or COM2, VISA Run-Time engine will not recognize the name automatically. To create these aliases in a computer with the VISA Run-Time Engine, edit or replace visaconf.ini file, the file that stores the alias information. The default location for visaconf.ini is C:\VXIpnp\WinNT\NIvisa.
You can read more about it on these links:
http://digital.ni.com/public.nsf/websearch/F9C1DD5BFA4DCAC986256CA90066D184?OpenDocument
http://digital.ni.com/public.nsf/websearch/DB5E81EAFC9A463886256AA8005EA2B1?OpenDocument
Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region