def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" try: # try to stop awg before closing communication for n in range(self.n_ch): self.writeAndLog(':OUTP%d 0' % (n + 1)) self.stop_awg() except: pass # close VISA connection VISA_Driver.performClose(self, bError, options)
def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" # calling the generic VISA class to close communication VISA_Driver.performClose(self, bError, options=options) pass
def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" # calling the generic VISA class to close communication self.writeAndLog('OUTPUT1 OFF;OUTPUT2 OFF') VISA_Driver.performClose(self, bError, options=options)
def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" # close VISA connection VISA_Driver.performClose(self, bError, options)
def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" # close VISA connection VISA_Driver.performClose(self, bError, options)
def performClose(self, bError=False, options={}): """Perform the close instrument connection operation""" self.q._close() if not hasattr(labberqdac(self), "Virtual"): VISA_Driver.performClose(self, bError, options=options) return