AnsweredAssumed Answered

Error Avoidance E5071C and Visual basic

Question asked by konstantinos on Oct 21, 2007
Latest reply on Oct 22, 2007 by odanzy
Dear All,

I have nade a simple program in visual basic for E5071C.
The problem i deal with occurs when i made the instrument to search the bandwidth at – x db (i.e. -3db)
The procedure pass the parameters to instrument. In case that the target not found an error occurs. In visual basic a run time error appears and inform me that an exception has been made.
Is there any way to skip the error and just have the results?
The general idea is this. When you are looking for 3 db and you cannot find it just give me an error and in which db has been found and in what frequency. After that the program could handle the error. The procedure uses the sequence find the maximum, made Δ-mode, set target at -3db , marker function search Left search right.
Is there any function which return to program the error and if the programmer needs ignore it or go it to the error control?
Another intersesting point is that. Have the instrument any build in function to measure the ripple in the same span which uses for the bandpass or i must change the span in order to do an accurate measurement?
Thanks in advance for your time.
Best regards,
Konstantinos.  

Outcomes