03-01-2006 05:03 AM
03-01-2006 06:11 AM
Are the COM ports the same on PC1 and PC2? If the application was written using COM1 on PC1 your software is trying to use that COM port on PC2. COM1 on PC2 may be configured for something else. PC2 may have COM2 available but not COM1. You may need to have a control in you application for the COM port to use or use a configuration file to tell the software what COM port to use.
I hope this helps.
AJL
03-01-2006 06:16 AM
If you search the LV help for this error code, you'll find this:
A code library required by VISA could not be located or loaded.
Is the VISA runtime included, if you install your SW on PC2?
03-01-2006 06:56 AM
03-01-2006 10:36 PM
To Thomas, AJL, and Warren,
That was a great advise. Thank you very much always for your kind assistance.
That was the missing link, I did not install the VISA Runtime Engine on the PC2 even if I put a check on the VISA Runtime when building execution file. The COM Port 1 is correct.
I guess this is one of the difference between LabVIEW 7.1 and 8 also. In LabVIEW 7.1 i never install the VISA Runtime engine on the PC2.
The execution file now works fine. Thanks a lot.