Skip to content
Supported devices

Venus Python SDK mode

This page describes Revolution release 4.0.0.

On this page
  1. Prerequisites
  2. Device configuration
  3. Initialising
  4. Moving plates
  5. Scripts
  6. Faults
Revo Ready

Hi, I'm Revo

Ask me anything about Revolution. My answers link the pages they come from.

PythonSdk is a setting of Venus Communication Mode on the Hamilton Star ICC, Hamilton Starlet ICC, StarV with extension, StarV Plus with extension and Hamilton Vantage ICC devices. The settings and behaviour common to all modes are on Hamilton Venus 5.

In this mode the device keeps one Hamilton Venus Python SDK session open against VENUS. One VENUS takes one device in this mode.

  • The Hamilton Venus Python SDK, with get_deck_position, installed into the Python interpreter Revolution runs Python blocks with.
  • VENUS running, with its simulation setting matching the device: on in Simulation mode, off in Real mode.
  • Deck location names of the form <prefix>_<layout position>, split on the first _: Vantage_FRAG_96_1 stands for FRAG_96_1.
  • An entry in VENUS labware files for every labware type that goes on the deck, and for a lidded plate a .lid file of the same name beside its labware file.
  • Venus SDK Safe Park Calls or Venus SDK Safe Arm X (mm) set, or Venus SDK No Safe Position Needed ticked, before a robot loads or unloads the deck.
SettingPurpose
Venus SDK Web API URLAddress of the Venus Python SDK web API on the VENUS PC; default http://localhost:42400
Venus SDK Layout PathDeck layout (.lay) the session opens, as an absolute path on the VENUS PC’s own drive
Venus SDK Default Grip Height (mm)Height above the labware bottom at which the gripper takes a plate; default 5
Venus SDK Grip Height Overrides (mm)Grip heights for particular labware types, as LabwareType=height entries separated by ;
VENUS labware filesTable of Revolution labware types, each with the VENUS labware file its plates are given to VENUS with, relative to VENUS’s labware folder, for example CORNING-COSTAR\Cos_96_PCR.rck. A change takes effect at the next initialisation
Venus SDK Script Call Timeout (s)How long one SDK call from a script may wait for VENUS; default 600
Venus SDK Safe Park CallsPark calls run in order before a robot enters the deck, for example iswap_park;pip_arm_park_right
Venus SDK Safe Arm X (mm)X position the pipetting arm moves to after the park calls. Empty leaves the arm where they put it
Venus SDK Safe ArmThe pipetting arm that move applies to: 1 unless the instrument has a second arm
Venus SDK No Safe Position NeededLet a robot enter the deck with nothing moved first

Initialisation moves every axis, so it is refused while a deck location is claimed or VENUS is running another method. The device opens the layout, adds every plate Revolution has on the deck to VENUS’s deck model (under its barcode, or its Revolution name without one), then initialises the instrument. It fails, naming each problem, for a location the layout lacks, a labware type with no entry, or a labware file VENUS has no plate definition for.

Hamilton Venus Transfer moves a plate between deck positions with the instrument’s gripper, at the grip height for its labware type. Before a robot loads or unloads the deck, the device runs the safe-position calls; afterwards it updates VENUS’s deck model. A plate is refused before anything moves if its site already holds labware in that model, or its labware type had no entry at the last initialisation.

A plate marked lidded in Revolution after it went on the deck open blocks every moving SDK call until you clear Is lidded, move it off and back with a robot, or initialise again.

A script drives the instrument through revo.devices.<Device>.sdk_client(StarClient), or sdk_client(VantageClient) for a Vantage. See Drive a Hamilton Venus device. The device keeps the session, the instrument’s connection, initialisation and termination, and the deck layout to itself. When a script moves labware, the script keeps Revolution’s record of the deck right.

A script claims no deck location, so a robot may enter between two calls. Put the Python block and every transfer onto or off this deck in one Mutex Sequence.

The device faults on a failed SDK call that may move the instrument, a failed gripper move or deck-model update, a call past Venus SDK Script Call Timeout (s), Abort Worklist Local during a call, or a lost session. A failed call that only reads the deck (get_deck_position, get_deck_positions, get_labware_location, get_occupied_carrier_sites, get_top_labware, get_transport_tool_ids, deck_get_rack_ids_from_deck) does not. A faulted device refuses every SDK call and robot load until you check the deck and initialise it again.