06-13-2010 05:32 PM
Hi all,
I have a question about the "timeout".
I use the instrument driver downloaded from American Magnetic Inc.(AMI) to write and program. In this program, I try to modulate and monitor the value of magnetic field.
The whole program generally works fine, but sometimes it show the error as following:
Error-1073807338 occurred at VISA Read in Get Magnetic Field.vi -> Sweep Program_4.vi
Possible reason(s):
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
In this error message, "Read in Get Magnetic Field.vi" is the instrument driver downloaded from AMI, and "Sweep Program.vi" is my program.
When this error shows up, the program will stops and ask me to continue or stop the program. If I choose continue, the program continues and works fine.
Since I want to let the program runs automatically without people care, I have to solve this problem. Thank you.
06-13-2010 08:04 PM
You need to make sure you wire up your error wire. Put and indicator on the wire coming out of the subVI causing the error.
Also check to make sure the subVI's weren't programmed with an error dialog box to pop up.
06-13-2010 10:48 PM
Effie wrote:When this error shows up, the program will stops and ask me to continue or stop the program. If I choose continue, the program continues and works fine.
Since I want to let the program runs automatically without people care, I have to solve this problem. Thank you.
Don't you think you should find out why you're getting the error in the first place?
06-14-2010 10:43 AM