Commit 5f91417d authored by Matthieu Cattin's avatar Matthieu Cattin

Remove prints from Agilent AWG class (PAGE).

parent d23498bf
...@@ -42,7 +42,8 @@ class Agilent33250A(Generator): ...@@ -42,7 +42,8 @@ class Agilent33250A(Generator):
def connect(self): def connect(self):
""" Connect to the device""" """ Connect to the device"""
self.comm = Serial(port = self.device, baudrate = self.bauds, timeout = self.to, interCharTimeout=self.ict) self.comm = Serial(port = self.device, baudrate = self.bauds, timeout = self.to, interCharTimeout=self.ict)
print 'Waiting for 2 bytes from the device:', self.comm.read(2) #print 'Waiting for 2 bytes from the device:'
self.comm.read(2)
self.connected = True self.connected = True
def close(self): def close(self):
......
...@@ -13,7 +13,8 @@ try: ...@@ -13,7 +13,8 @@ try:
import Sis33 import Sis33
hasSis33 = True hasSis33 = True
except: except:
print 'Error while loading Sis33 module, skipping it' #print 'Error while loading Sis33 module, skipping it'
pass
waveforms = (RemoteObject, SineWaveform, TTWaveform) waveforms = (RemoteObject, SineWaveform, TTWaveform)
generators = (Agilent33250A, RemoteObject) generators = (Agilent33250A, RemoteObject)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment