To do for far future: use with...as... statements to help set up/teardown procedures for all instruments. Not doing so can possibly cause errors in trying to send commands or trying to connect.
Probably will need to look into __enter__ and __exit__ definitions for each class.
To do for far future: use
with...as...statements to help set up/teardown procedures for all instruments. Not doing so can possibly cause errors in trying to send commands or trying to connect.Probably will need to look into
__enter__and__exit__definitions for each class.