Esempio n. 1
0
 def putOnline(self):
     ScpiDevice.putOnline(self)
     if self._deviceHandle:
         self._deviceHandle.timeout = 20000
         if not self.frontPanelLockout:
             self.gtl()
         #self.write('FORM{0:d};'.format(self.dataFormat))
         self._setGpibRemote(True)
         self._gotoNullStatus()            
         if not self._lastLearnString:
             self._obtainLearnString()
         self._restoreLearnString()
Esempio n. 2
0
    def putOnline(self):
#        try:
        ScpiDevice.putOnline(self)
Esempio n. 3
0
 def putOnline(self):
     ScpiDevice.putOnline(self)
     if self.online:
         self.write('ROUT:CHAN:VER:ENAB ON,(@1102:1138)') #TODO: take minimum an maximum of switchMapping
Esempio n. 4
0
    def putOnline(self):
        ScpiDevice.putOnline(self)
#        self._deviceHandle.term_chars = '\r'
        if self._deviceHandle:
            self.clear()
Esempio n. 5
0
    def putOnline(self):
        ScpiDevice.putOnline(self)

        if self._deviceHandle:
            self.clear()
Esempio n. 6
0
 def putOnline(self):
     ScpiDevice.putOnline(self)
     if self.online:
         self.write('ROUT:CHAN:VER:ENAB ON,(@1102:1138)') #TODO: take minimum an maximum of switchMapping
         self.write('ROUTe:RMODule:BANK:LED:DRIVe:ENABle ON,ALL,(@1100)') #enables LED drive for all channels
         self.write('ROUTe:RMODule:BANK:LED:DRIVe:LEVel 0.02,ALL,(@1100)') #...at 20mA drive strength