pylabrobot.agilent.vspin.VSpin#

class pylabrobot.agilent.vspin.VSpin(name: str, device_id: str | None = None)#

Bases: object

FTDI driver for the Agilent VSpin Centrifuge.

Owns the USB connection, low-level command protocol, and hardware status queries.

Attributes

at_bucket

The bucket parked at the load position, or None if the rotor is elsewhere.

bucket_1_remainder

door_open

Whether the door was left open by the last door command.

Methods

__init__(name[, device_id])

close_door()

configure_and_initialize()

g_to_rpm(g)

go_to_bucket1()

go_to_bucket2()

go_to_position(position)

initialize()

lock_bucket()

lock_door()

open_door()

request_bucket_1_position()

Get the bucket 1 position based on calibration.

request_bucket_locked()

request_door_locked()

request_door_open()

request_home_position()

Changes during a run, but the bucket 1 position relative to it does not.

request_position()

request_positions_and_tachometer()

request_tachometer()

Current speed in rpm.

send_command(cmd[, read_timeout])

set_bucket_1_position_to_current()

Set the current position as bucket 1 position and save calibration.

set_configuration_data()

Set the device configuration data.

setup()

spin([g, duration, acceleration, deceleration])

Start a spin cycle.

stop()

unlock_bucket()

unlock_door()

Parameters:
  • name (str)

  • device_id (str | None)