Hello all,
I have a pretty basic application that communicates through an RS-232 port with a motor driver (made in-house). I have developed it on a desktop computer (Windows7. LabVIEW 2009), with a true serial port. I worked fine, as expected.
I had to move it to a laptop, for a sort of traveling test stand. Windows7 again, no serial port though, I had to use an USB-to-serial adapter. I installed LabVIEW Runtime Engine, VISA runtime, moved my executable - it did not work. No errors, just the motor did not move.
I installed LabVIEW on the laptop, copied the source over, and rebuilt the executable there. It still did not work. But if I run the software from the source, it works!
I have also noticed something else: my program does not exit LabVIEW when I exit my main vi (I forgot to do that). If I launch my executable and I exit it (beacause it does not work), I still have the front panel open. If I restart it from the Run (arrow) button, it works, it communicates with my driver.
I don't know if it's the serial converter (this is the only hardware change between my working and my non-working setups), or something else I am overlooking. I would appreciate any hint on how to solve this problem.
It may not be relevant: I have another instrument in the setup, connected through a USB-to-GPIB adapter. I have no problem reading from it, even when using my non-working executable.
Thank you!