pylabrobot.bmg_labtech.vantastar.driver.configuration.VANTAstarConfiguration#

class pylabrobot.bmg_labtech.vantastar.driver.configuration.VANTAstarConfiguration(firmware_version: int | None = None, firmware_build: int | None = None, firmware_package: int | None = None, protocol_version: int | None = None, mainboard_version: int | None = None, cpu_board_version: int | None = None, serial_number: str | None = None, modules: Dict[int, bytes] | None = None, photomultipliers: str | None = None, temperature_controller: bool | None = None, temperature_controller_channels: int | None = None, pumps: Tuple[str | None, str | None] | None = None, spectrometer: bool | None = None, spectrometer_maximum_wavelength: int | None = None, monochromator_slides: Dict[str, Dict[int, str]] | None = None, linear_variable_filters: bool | None = None, atmospheric_control_unit_connected: bool | None = None, stirrer: bool | None = None, stacker_connected: bool | None = None, barcode_readers: Dict[int, str] | None = None)#

Bases: object

What the reader reported about itself.

The firmware and the serial number come from module 2; the fitted hardware from the other modules, one by one (update_from_modules). A fitted-hardware field is None until read, or when its module is missing from the reply: the tested reader sends no module for the stacker and the barcode readers. The tested reader reported a single standard photomultiplier, a temperature controller of 3 channels, no pumps, a spectrometer up to 1050 nm, 7 monochromator slides with linear variable filters, no atmospheric control unit and no stirrer; the other values of these fields are decoded from the layout the reader uses, not seen on a reader.

Variables:
  • firmware_version (int | None) – the firmware version number, e.g. 1120 for firmware 1.12.

  • firmware_build (int | None) – the firmware build number.

  • firmware_package (int | None) – the firmware package number (Voyager shows it as “FWP”).

  • protocol_version (int | None) – the communication protocol version the reader supports.

  • mainboard_version (int | None) – the mainboard version.

  • cpu_board_version (int | None) – the CPU board version.

  • serial_number (str | None) – the reader’s serial number; a saved file holds SERIAL_NUMBER_PLACEHOLDER.

  • modules (Dict[int, bytes] | None) – every module’s fields, by module number; not saved.

  • photomultipliers (str | None) – “single”, “single extended infrared” or “dual”.

  • temperature_controller (bool | None) – whether a temperature controller (incubator) is built in.

  • temperature_controller_channels (int | None) – its channels.

  • pumps (Tuple[str | None, str | None] | None) – the type of injector pumps 1 and 2, “XP3000” or “XCalibur”; None where not built in.

  • spectrometer (bool | None) – whether the absorbance spectrometer is built in.

  • spectrometer_maximum_wavelength (int | None) – its longest wavelength, nm.

  • monochromator_slides (Dict[str, Dict[int, str]] | None) – the monochromator’s slides by name, each with its positions: {slide: {position: name}}.

  • linear_variable_filters (bool | None) – whether the monochromator holds linear variable filters.

  • atmospheric_control_unit_connected (bool | None) – whether an atmospheric control unit is connected.

  • stirrer (bool | None) – whether a stirrer is connected.

  • stacker_connected (bool | None) – whether a stacker is connected.

  • barcode_readers (Dict[int, str] | None) – {reader 1-4: scanner type} for the barcode readers built in.

Parameters:
  • firmware_version (int | None)

  • firmware_build (int | None)

  • firmware_package (int | None)

  • protocol_version (int | None)

  • mainboard_version (int | None)

  • cpu_board_version (int | None)

  • serial_number (str | None)

  • modules (Dict[int, bytes] | None)

  • photomultipliers (str | None)

  • temperature_controller (bool | None)

  • temperature_controller_channels (int | None)

  • pumps (Tuple[str | None, str | None] | None)

  • spectrometer (bool | None)

  • spectrometer_maximum_wavelength (int | None)

  • monochromator_slides (Dict[str, Dict[int, str]] | None)

  • linear_variable_filters (bool | None)

  • atmospheric_control_unit_connected (bool | None)

  • stirrer (bool | None)

  • stacker_connected (bool | None)

  • barcode_readers (Dict[int, str] | None)

Attributes

Methods

__init__([firmware_version, firmware_build, ...])

update_from_modules(modules)

Fill the fitted-hardware fields from the reply's modules.