pylabrobot.bmg_labtech.vantastar.VANTAstarDevice.__init__#
- VANTAstarDevice.__init__(name: str = 'VANTAstar', *, device_id: str | None = None, io: USB | None = None, size_x: float = 420.0, size_y: float = 520.0, size_z: float = 295.0, declared_configuration_json: str | None = None, simulation: bool = False)#
- Parameters:
name (str) – the resource name.
device_id (str | None) – the USB serial number; None uses the first reader found.
io (USB | None) – an already-built
USB, used instead of building one.size_x (float) – width, in mm.
size_y (float) – depth, in mm.
size_z (float) – height, in mm.
declared_configuration_json (str | None) – a file
save_configurationwrote, passed to the driver: setup refuses a reader that disagrees with it on what is fitted; a simulated reader’s configuration.simulation (bool) – build a simulated reader, with no link, from
declared_configuration_json.
- Raises:
ValueError – if
simulationis given withoutdeclared_configuration_json, or withdevice_idorio.