Exemple #1
0
 def performGetValue(self, quant, **kw):
     if quant.name == 'WList':
         quant.value = self.waveform_list
         return self.waveform_list
     elif quant.name == 'SList':
         quant.value = self.sequence_list
         return self.sequence_list
     else:
         return BaseDriver.performGetValue(self, quant, **kw)
Exemple #2
0
 def performGetValue(self, quant, **kw):
     if quant.name == 'Data':
         if 'count' in kw.keys():
             count = kw['count']
         else:
             count = 100
         return self.get_Data(count)
     else:
         return BaseDriver.performGetValue(self, quant, **kw)