01-28-2012 06:07 AM
Hi all,
I have built a LV program that reads in serial data from 4 serial ports and displays the data on the front panel. The program works flawlessly in LV 2010. The problems starts occurring once the program has been compiled in Application Builder.
I include the NI-Visa option in my builds and run the compiled program on an identical system.
The problem, the computer boots and runs the application straight away. 50% of the time it reads all the comports no problem, on other boots it may only reads 3 comports, and refuses to read one of them. At the moment it seems to be the same comport it does not read. Closing the program and restarting it does not seem to work, you have to reboot and hope for the best. I have tried another PC and it's the same problem.
I have written another completely different program that uses one comport and that also does the same sometimes, but closing the application and running it again cures the problem (No need to re boot the computer)
I have used similar routines in LV 7.1 and have had no problems at all & it's the same PC I'm using today.
Can anyone give any advice? Could it be in bug in Application Builder?
Regards
01-28-2012 09:25 PM
When a program works fine in development mode but doesn't when compiled into an EXE, I would suspect a timing issue. Programs run slower in development mode.