LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error about timeout

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. 

0 Kudos
Message 1 of 4
(2,877 Views)

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.

0 Kudos
Message 2 of 4
(2,864 Views)

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?

0 Kudos
Message 3 of 4
(2,849 Views)
Although not suggested, You can use an error handler to suppress your errors. I think the best way would be to use a Simple Error Handler (Dialog and User Interface Palette).  Set the error code at the top left to the error you want to ignore and the type of dialog to 0 and it will suppress only that error. 
Raj
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,830 Views)