Dialysate Generator (DG) Dialin object API.
More...
Dialysate Generator (DG) Dialin object API.
It provides the basic interface to communicate with the DG board
◆ __init__()
| def DialysateGenerator.DG.__init__ |
( |
|
self, |
|
|
|
port = "/dev/ttyUSB0" |
|
) |
| |
DG constructor using serial port name.
- Parameters
-
| port | serial port name, e.g. "/dev/ttyUSB0" |
- Returns
- DG object that allows communication with board via port
For example:
dg_object = DG(port='/dev/ttyUSB69') or
dg_object = DG('/dev/ttyUSB69')
◆ fill()
| def DialysateGenerator.DG.fill |
( |
|
self | ) |
|
◆ registerAsyncReceiver()
| def DialysateGenerator.DG.registerAsyncReceiver |
( |
|
self, |
|
|
|
message_id, |
|
|
|
method |
|
) |
| |
◆ registerSyncReceiver()
| def DialysateGenerator.DG.registerSyncReceiver |
( |
|
self, |
|
|
|
message_id, |
|
|
|
method |
|
) |
| |
The documentation for this class was generated from the following file: