Assigning Tips to a Hamilton Deck

Heya,

Forgive me if I’ve missed something obvious here as I start getting to grips with PLR, but it seems I’m unable to assign tips to a correct location when using basic “assign_child_resource” in combination with a Hamilton STAR Deck.

    tip_carrier = TIP_CAR_480BC_A00(name="tip_carrier")
    tip_carrier[0] = hamilton_96_tiprack_1000uL_filter(name="tips_01")

    liquid_handler.deck.assign_child_resource(tip_carrier, location=Coordinate(145.0, 63.0, 100))

Gives the following when checking summary:

Rail  Resource                      Type                 Coordinates (mm)
=======================================================================================
(-6)  ├── trash_core96              Trash                (-58.200, 106.000, 216.400)
      │
(3)   ├── tip_carrier               TipCarrier           (145.000, 063.000, 100.000)
      │   ├── tips_01               TipRack              (151.200, 073.000, 214.950)
      │   ├── <empty>
      │   ├── <empty>

Which is really far off what reality is:

Am I missing something key here?

Hi @ThatGuyAdam,

Yes, the key is understanding that each manufacturer uses their own position representation system (and often even different ones in the same software), while PLR uses the same for all devices:

Your PLR code and VENUS are actually completely identical, you are just looking at two different representations:

  • PyLabRobot by default shows and references the front-left-bottom of a resource - in your lh.summary() of the tiprack
  • the VENUS screenshot shows you the center-center-bottom of tipspot “A1”

I’ve built a “Get Location” tool in PyLabRobot’s Visualizer aimed at helping you navigate this and make these quick sanity checks against OEM software really quick :slight_smile:


For general understanding of the front-left-bottom referencing I recommend our Plate Definition YouTube tutorial

1 Like

Perfect explanation, thank you; I’ll bear this in mind going forwards!

2 Likes

which by the way you can run yourself locally!

1 Like