コード例 #1
0
 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)
コード例 #2
0
 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
コード例 #3
0
 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)
コード例 #4
0
ファイル: Tektronix_AWG.py プロジェクト: ittnas/Drivers_Antti
 def performClose(self, bError=False, options={}):
     """Perform the close instrument connection operation"""
     # close VISA connection
     VISA_Driver.performClose(self, bError, options)
コード例 #5
0
 def performClose(self, bError=False, options={}):
     """Perform the close instrument connection operation"""
     # close VISA connection
     VISA_Driver.performClose(self, bError, options)
コード例 #6
0
ファイル: QDevil_QDAC.py プロジェクト: weiyangliu/Drivers
 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