02-12-2007 10:46 AM
02-13-2007 10:48 AM
Hi Thang,
Just generally speaking, it sounds like we're looking at either a timeout issue or a process flow problem in your code since your program works properly in highlight execution. In this mode, the program will run slower than usual, essentially giving your instrument more time to read the response from your instrument. You may want to try increasing the timeout of your read block so that your program waits longer in normal mode to read a message, rather than giving up "too soon" and throwing this error. You will also want to check the data flow in your program to be sure that your code will be executing in the proper sequence. Sometimes in highlight execution your code will execute in a different order than in normal run mode. Make sure that your read blocks are occuring at the proper point in your program. Hope this helps!