pylabrobot.bmg_labtech.vantastar.driver.master.VANTAstarDriver#
- class pylabrobot.bmg_labtech.vantastar.driver.master.VANTAstarDriver(device_id: str | None = None, io: USB | None = None, name: str = 'VANTAstar')#
Bases:
objectOwns the VANTAstar USB connection and the command layer.
Attributes
Seconds a wait for the reader to be ready may last.
Whether the current task runs a read under
estimate_duration.Methods
__init__([device_id, io, name])adjust_gain_and_focus(parameters, *[, timeout])Run a gain and focus adjustment from prebuilt fields and return what it found.
build_absorbance_run(wavelengths, *, ...[, ...])RUN fields for an absorbance endpoint read (MeasurementMode 2).
build_absorbance_spectrum_run(...[, ...])RUN fields for an absorbance spectrum (MeasurementMode 2 with no discrete wavelengths): start, stop and step in 0.1 nm, then the reference wavelengths of an endpoint read.
build_fluorescence_run(monochromators, *, ...)RUN fields for a top fluorescence-intensity endpoint read (MeasurementMode 0).
build_fluorescence_scan_run(first, last, ...)RUN fields for a top fluorescence scan (MeasurementMode 0, ChromaticScan1): the number of points, then the monochromator settings of the first and the last point; the reader steps evenly between them.
build_gain_focus(monochromator, *, ...[, ...])GainPlateCommand fields for a top fluorescence gain and focus adjustment, either alone.
build_incubator(command_type, temperature)IncubatorCommand fields: type, nominal temperature (0.1 C), channels (all).
build_luminescence_run(monochromators, *, ...)RUN fields for a top luminescence endpoint read (MeasurementMode 1).
discover()Parse the INIT reply (HardwareInfoResponse) into
configurationand return it.estimate_duration(read)The run time in s the reader expects for the read
readmakes, without reading.estimate_run_time(parameters)The run time in s the reader expects for a read of the RUN fields
parameters, without reading: the RUN is sent with CalcTimeOnly set, as Voyager sends it while a method is edited.exchange(payload)Send one logical payload and return the reply payload, under the exchange lock.
One line describing the reader that was found.
The three incubator sensor readings in degrees C (the first is the one Voyager displays), or None when the reader reports none.
Initialize the reader (homes the axes, about 10 s) and wait until it is ready.
measure_z_profile(parameters, *[, timeout])Run a gain and focus adjustment from prebuilt fields with the focus, and return its focus curve.
request_status([retries])Request the reader's status flags.
run_absorbance_spectrum(parameters, *, timeout)Run an absorbance spectrum from prebuilt RUN fields and return one block per well, in the order the reader reads the wells; the first carries the calibration values.
run_blocks(parameters, *, timeout)Run a read from prebuilt RUN fields and return its finished data blocks: one, or one per kinetic cycle.
run_measurement(parameters, *, timeout)Run a read of one data block (an endpoint read or a fluorescence scan) from prebuilt RUN fields and return the block (
run_blocks).send_command(command_id[, body, retries, ...])Send
[command id] + bodyand return the reply payload.setup()Connect, initialize the reader (about 10 s), and read its configuration.
stop([accept_plate_left_in_device])Stop a running measurement, close the drawer, and close the connection.
stop_run()Stop a measurement running on the reader (StopCommand, StopMode 0).