Exemple #1
0
 def configure(self, config):
     ARMNode.configure(self, config)
Exemple #2
0
 def configure(self, config):
     ARMNode.configure(self, config)
     set_attribute(self, 'mode', 'volts', config, str)
     set_attribute(self, 'ttl', 10.0, config, int)
Exemple #3
0
 def configure(self, cd):
     ARMNode.configure(self, cd)
     if self.id < 1 or self.id > 3:
         self.id = None
         raise EInvalidValue('AO channel must be between 1 and 3.  %d is invalid' % self.id)
Exemple #4
0
 def configure(self, config):
     ARMNode.configure(self, config)
     set_attribute(self, 'mode', 'volts', config, str)
     set_attribute(self, 'ttl', 10.0, config, int)
Exemple #5
0
 def configure(self,config):
     ARMNode.configure(self,config)
Exemple #6
0
 def configure(self, cd):
     ARMNode.configure(self, cd)
     if self.id < 1 or self.id > 3:
         self.id = None
         raise EInvalidValue(
             'AO channel must be between 1 and 3.  %d is invalid' % self.id)