04-29-2009 09:42 PM
I'm am using a vi to communicate with a Tek TDP oscilloscope over GPIB. The vi's that I'm using, which come with the driver for the scope, read the pulse and period of a waveform. The problem is that I call the VI in a loop several times until I get the waveform that I want. Prior to the waveform that i want being generated there is no pulse at all so the vis' return an error. I would like to completely suppress this error. That is I dont want it displayed at all. Is there an easy way to do that. If there's a way to suppress all errors for the vi that would work, however I would prefer a method that would only suppress, ie not display, one particular error.
Thanks,
Chuck
Solved! Go to Solution.
04-29-2009 10:00 PM
Chuck,
Look at the Clear Errors vi and see if this does what you want.
-cb
04-29-2009 10:01 PM
04-29-2009 10:25 PM
Actually, if you only want to suppress one error, 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.
04-30-2009 07:32 AM
Thanks, that works perfect.