Exemple #1
0
 def __init__(self):
     BUS = SERIALBus (serial.Serial(port='COM3', 
                                    baudrate=4800, 
                                    bytesize=serial.EIGHTBITS, 
                                    parity=serial.PARITY_NONE, 
                                    stopbits=serial.STOPBITS_ONE, 
                                    timeout=0.6, 
                                    xonxoff=0, 
                                    rtscts=1, 
                                    interCharTimeout=None), 
                                 Echoed=False,
                                 Terminator='\r')
     HAAKE_F6.__init__(self, BUS)
     return
Exemple #2
0
 def __init__(self):
     BUS = SERIALBus (serial.Serial(port='COM2', 
                                    baudrate=9600, 
                                    bytesize=serial.EIGHTBITS, 
                                    parity=serial.PARITY_NONE, 
                                    stopbits=serial.STOPBITS_ONE, 
                                    timeout=0.6, 
                                    xonxoff=1, 
                                    rtscts=0, 
                                    interCharTimeout=None), 
                                 Echoed=True,
                                 Terminator='\n')
     Cornerstone130.__init__(self,BUS)
     return
Exemple #3
0
 def __init__(self):
     BUS = SERIALBus (serial.Serial(port='COM1', 
                                    baudrate=9600, 
                                    bytesize=serial.EIGHTBITS, 
                                    parity=serial.PARITY_NONE, 
                                    stopbits=serial.STOPBITS_ONE, 
                                    timeout=0.6, 
                                    xonxoff=1, 
                                    rtscts=0, 
                                    interCharTimeout=0.05), 
                                 Echoed=False,
                                 Terminator='\n')
     PStsx3510P.__init__(self,BUS)
     return