06-01-2011 05:29 AM
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....
06-01-2011 09:17 AM
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.
06-01-2011 09:44 AM
Here is an example of how to do what you want