05-20-2009 02:00 AM
I built a installer on the vi attached, the vi has a serial input function.
The additonal installers I ticked are NI LabView Run-Time Engine 8.6.1, and NI-VISA runtime 4.4.
I notice that in some PCs with Windows XP, the installer runs fine. On some XP PCs the NI-VISA doesn't function; it cannot detect any serial input, but hyperterminal still can detect the serial input though. On one PC it ran fine for a while then the NI-VISA suddenly kaput on a second restart of the exe.
I suspect the problem PCs may have had too many programs installed, and there is corruption in the registery or somewhere, causing the NI-VISA to malfunction. But I am not sure....(what if I send the 120mb installer to some customer in a offshore platform and its NI-VISA dont work, that would suck ).
So guys, do you have any experience like this? Usually what is the main cause? Advance thanks.
05-20-2009 07:21 AM
sunflower,
I have never encountered the problem that you are experiencing. Make sure that when you run your .exe, that all other programs that use the serial port are shutdown. Make sure that your .exe releases the com port before leaving memory.
05-20-2009 07:25 AM