Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Proper Equipment Initialization

$
0
0

Hello,

One thing that has always bugged me is "what should I do for proper equipment intialization?"  When I write a program, the program itself does not know the status of the equipment I'm controlling.  For example, the testset may have just been turn on, it may have been running all day, or it may have a hanged GPIB bus.  The issue I'm trying to figure out is, how do I properly initialiize the equipment to remove all errors.  I currently do the following:

 

Clear

loop on SYST:ERR? until no errors are present on the testset.

*RST

*CLS

(Also, overide any defaults that are necessary depending on the testset)

 

I'm not sure if this is all that is necessary or not, but I was hoping someone could help confirm.

 

Thanks!


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>