LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to not get timeout error

Hi everyone,

I am using oscilloscope to acquire data from the gpib port....

My probe which is attached to the oscilloscope, scans the entire circuit for data.

At some points there is signal and at some points there is not.

What i want is not to get a timeout error in those points where there is no signal.

Because of the error the scan gets interrupted.

Can anyone help me out with this??

Thanx....

0 Kudos
Message 1 of 3
(2,331 Views)

What you need to do is handle your errors. Don't simply pass them through. You will have to include logic in your code to determine when a timeout error is not truly an error and therefore allow your program to continue. If possible you can reduce the value of the timeout so that you can process the error and either continue or stop as appropraite in a more timely fashion.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,320 Views)

Here is an example of how to do what you want

Tim
GHSP
0 Kudos
Message 3 of 3
(2,315 Views)