You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several instrument classes, such as NewportESP301 and SRSCTC100 support checking for instrument errors after each sendcmd(), but this could be consolidated into a base class by making a new base class method called _errcheck(). By default, this method would always succeed without error, but could be overridden by specific instrument classes to quickly enable adding robust error checking when available.
Create AbstractInstrument._errcheck().
Modify AbstractInstrument.sendcmd() and AbstractInstrument.query() to accept errcheck kwarg.
Consolidate existing error-checking logic in instrument derived classes.
The text was updated successfully, but these errors were encountered:
Several instrument classes, such as
NewportESP301
andSRSCTC100
support checking for instrument errors after eachsendcmd()
, but this could be consolidated into a base class by making a new base class method called_errcheck()
. By default, this method would always succeed without error, but could be overridden by specific instrument classes to quickly enable adding robust error checking when available.AbstractInstrument._errcheck()
.AbstractInstrument.sendcmd()
andAbstractInstrument.query()
to accepterrcheck
kwarg.The text was updated successfully, but these errors were encountered: