I have an application built in labview 8.5 application builder using windows XP. I have one instrument connected in gpib and one connected to a serial port. The source code runs ok but when I build an executable of teh same code and try to run it, it doesnt run the instrument connected to the serial port. It does communicate with the gpib port. Any ideas why this would be happening?
My first guess (and what happens to me too often) is that you didn't set the com port as a default in one of the controls, and it is defaulting elsewhere. If you freshly open the program (VI, not exe), then run it, without touching any controls, will it work? If you have to change any controls, do them after you hit run, as that is what the exe will see. It may give some insight.