예제 #1
0
 def __del__(self):
     if self.protocol == 'serial':
         SerialInstrument.__del__(self)
     if self.protocol == 'socket':
         self.write('END')
         SocketInstrument.__del__(self)
예제 #2
0
 def __del__(self):
     return
     if self.protocol == 'serial':
         SerialInstrument.__del__(self)
     if self.protocol == 'VISA':
         VisaInstrument.__del__(self)
예제 #3
0
 def __del__(self):
     if self.protocol == 'serial':
         SerialInstrument.__del__(self)
     if self.protocol == 'socket':
         self.write('END')
         SocketInstrument.__del__(self)