Beispiel #1
0
 def status(self):
     stat = gpib.ibsta()
     statvals = {}
     for key in ibsta_dic:
         if stat & (1 << key):
             statvals[ibsta_dic[key][0]] = ibsta_dic[key][1]
     return statvals
Beispiel #2
0
 def status(self):
     stat = gpib.ibsta()
     statvals = {}
     for key in ibsta_dic:
         if stat & (1 << key): statvals[ibsta_dic[key][0]] = ibsta_dic[key][1]
     return statvals
Beispiel #3
0
 def ibsta(self):
     self.res = gpib.ibsta()
     return self.res
Beispiel #4
0
 def status(self):
     return gpib.ibsta()
Beispiel #5
0
 def ibsta(self):
     self.res = gpib.ibsta()
     return self.res