pylabrobot.kbioscience.kube.KBioscienceKUBE#
- class pylabrobot.kbioscience.kube.KBioscienceKUBE(port: str, timeout: float = 5.0, settle_time: float = 5.0, preheating_temperature: int = 100, offline_temperature: int = 20, portrait: bool = False)#
Bases:
objectKBioscience KUBE thermal plate sealer.
- Serial settings:
9600 baud, 8 data bits, no parity, 1 stop bit, no handshake, “r” terminator.
Commands (ASCII, terminated with CR). The device echoes the command in front of its reply, so the leading command characters are stripped before the reply is read (e.g.
A160->A160ok->ok;?->?3f->3f). A reply containingsyntaxmeans the command was rejected.? read status byte, two hex digits (see KUBEStatus) E read error code, two decimal digits (see DEVICE_ERRORS) S seal the plate; replies ok or err A{t:03d} set sealing temperature, degrees C (5..199) B{t:02d} set sealing time, deciseconds (05..99 = 0.5..9.9 s) P{n} select seal preset 1..6 X{1|2} set plate orientation: 1 portrait, 2 landscape; replies ok/err H clear the error message window on the instrument display C read sealing temperature setpoint, three digits D read sealing time setpoint, two digits (deciseconds) F read current heater temperature, three digits V read firmware version @ read product name / model description <empty> protocol probe; a unit replying ``ALPS300`` speaks the older ALPS protocol and is rejected at setup. Use ``pylabrobot.thermo_fisher.alps.ThermoScientificALPS300`` for a unit running that protocol.Not verified: has NOT been tested against hardware in PyLabRobot. A warning is emitted at setup.
Methods
__init__(port[, timeout, settle_time, ...])Clear the error message window on the instrument display (
H).Read the current error code (
E).Read the firmware version (
V).Read the product name / model description (
@).Read the sealing temperature setpoint in degrees C (
C).Read the sealing time setpoint in seconds (
D).Read the status byte (
?).Read the current heater temperature in degrees C (
F).seal([temperature, duration, preset, ...])Seal a plate.
send_command(command)Send a command and return the reply with the echoed command stripped.
set_plate_orientation(portrait)Set the plate orientation (
X): portrait (X1) or landscape (X2).set_seal_preset(preset)Select one of the instrument's stored presets (
P, 1..6).set_sealing_time(seconds)Set the sealing time in seconds (
B, 0.5..9.9).set_temperature(temperature)Set the sealing temperature in degrees C (
A, 5..199).setup()stop()wait_for_idle(ignore_mask)Wait until the device is Ready, tolerating the bits set in
ignore_mask.wait_for_sealing_temperature([timeout])Block until the heater reaches the setpoint (NotAtSealTemperature clears).