Commit 501ae8f660f4984cd758ca0c69caac18446efce2

Authored by bmarechal
1 parent cac4c932ce
Exists in master

-

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

instruments/PM100D.py
... ... @@ -14,23 +14,23 @@
14 14 class PM100D(abstract_instrument):
15 15 def __init__(self, channels, vtypes, adress):
16 16 self.adress = adress
17   - self.channels = channels
  17 + self.channels = channels
18 18 self.vtypes = vtypes
19 19  
20 20 def model(self):
21 21 #self.send("*IDN?")
22 22 #return self.read()
23   - return "PM100D"
  23 + return "PM100D"
24 24  
25 25 def connect(self):
26 26 print('Connecting to device @%s...' %(self.adress))
27 27 self.FILE = os.open(self.adress, os.O_RDWR)
28 28 print(' --> Ok')
29 29 print(self.model())
30   - self.configure()
  30 + self.configure()
31 31  
32 32 def configure(self):
33   - pass
  33 + pass
34 34  
35 35 def getValue(self):
36 36 self.send("READ?")