RS232

The RS232 module enables communication with other devices through RS232. It currently contains a single class, class Braintree(), which is used to control a Braintree pump, but more devices could be added in the future.

class Braintree()

class microscope_automation.hardware.RS232.Braintree(port='COM1', baudrate=19200)[source]

Control Braintree BS-8000/9000 syringe pump through RS232. http://www.braintreesci.com/prodinfo.asp?number=BS-8000 http://www.braintreesci.com/images/BS8000.pdf

close_connection()[source]

Stop pump and close connection.

Input:

none

Output:

none

start_pump()[source]

Start pump.

Input:

none

Output:

none

stop_pump()[source]

Stop pump.

Input:

none

Output:

none