AlteRead SBS Rack Reader
This page describes Revolution release 4.0.0.
AltemisLab AlteRead SBS Rack Reader Camera reader for 2D-coded tubes in SBS racks. Hi, I'm Revo
Ask me anything about Revolution. My answers link the pages they come from.
The AltemisLab AlteRead is an SBS rack 2D barcode camera reader. It reads the 2D code on the base of every tube in a rack and, when set to, the rack’s own 2D ID. Revolution drives it over the REST API the reader serves on port 5223.
At a glance
Section titled “At a glance”| Rack formats | SBS racks in 96, 48 and 24 format |
| Connection | REST API on port 5223 |
| Revolution control | Read rack, list the reader’s projects, read the reader’s firmware version and health |
Supported methods
Section titled “Supported methods”- Read Rack runs one of the reader’s projects (rack formats) on the rack placed on the reader, and waits until the reader has decoded it.
- A position is read when its code was decoded and passed the reader’s validator, empty when the reader found no tube, and a no-read otherwise. With Tube Presence Detection off, every undecoded position is a no-read.
- The step fails on a rack ID other than the expected one, or, unless Fail On No Read is off, on any no-read. The results are published first.
- With a results folder set, each read is also saved there as a new CSV file, one row per position.
| Operation | Schedule variables |
|---|---|
| Read Rack | RackReader.Well.A1 and so on (each position’s barcode), RackReader.Project, RackReader.RackId, RackReader.ReadCount, RackReader.NoReadCount, RackReader.EmptyCount, RackReader.NoReadWells, RackReader.EmptyWells, RackReader.ResultsFile |
| Get Projects | RackReader.Projects |
| Get Reader Status | RackReader.Version, RackReader.Temperature, RackReader.DriveSpace |
Integration
Section titled “Integration”Initialising the device asks the reader for its firmware version, and fails if the reader cannot be reached. In simulation, no reader is contacted.
Prerequisites
Section titled “Prerequisites”- The reader must be reachable from the Revolution host at the address in Reader URL.
- Rack ID reading, the tube presence mode and the code validator are set in the reader’s own web page. Tube Presence Detection on the device must match that page.
- A project name on a step must match a name the reader lists.
Device configuration
Section titled “Device configuration”| Setting | Purpose |
|---|---|
| Reader URL | The reader’s address. Defaults to http://10.10.10.1:5223. A host name or address without a scheme gets http://, and one without a port gets 5223 |
| Request Timeout (s) | How long one request may take, including a whole rack read. Defaults to 120 |
| Tube Presence Detection | On when the reader’s tube presence mode is Fast or AI, off when it is Off. Defaults to on |
| Results Folder | Where Read Rack saves a CSV when the step names no folder. A full drive or UNC path; blank saves none |
Operations
These are available from a Run Device Operation step.
Get Projects
Asks the reader which projects (rack formats) it can read and publishes their names, comma-separated, as ${RackReader.Projects}. These are the names Read Rack accepts; no rack is read.
Get Reader Status
Asks the reader for its firmware version and system health and publishes them as ${RackReader.Version}, ${RackReader.Temperature} (degrees Celsius) and ${RackReader.DriveSpace}. A quick way to prove from a schedule that the reader is reachable; no rack is read.
Raise Error
Makes this device report a failure on demand: the step fails with an error naming the device, and the operator is offered the usual error recovery choices. No command reaches the instrument and nothing moves, and the failure is raised in simulation as well as on a real system, so this is the step to use when rehearsing how a schedule handles a device failure.
Read Rack
Reads the 2D code on the base of every tube in the rack on the reader, using one of the reader's projects (rack formats), and the rack's own 2D ID when the reader is set to read it. Each position's barcode is published as ${RackReader.Well.A1} and so on - empty where nothing was read - with the rack ID as ${RackReader.RackId}, the unread and empty positions as ${RackReader.NoReadWells} and ${RackReader.EmptyWells}, and their counts. The step fails if a tube present could not be read, unless allowed, or if the rack ID is not the one expected; what was read is published either way.
| Parameter | Type | Default | Description |
|---|---|---|---|
| Project | string | SBS 96 | Reader project to run, e.g. SBS 96. The name exactly as the reader lists it; Get Projects publishes the list, and a reader ships with SBS 96, SBS 48 and SBS 24. Whether the rack ID is required, the tube presence mode and the code validator are set in the reader's own web page, not here. |
| Expected Rack ID | string | None | Rack ID the reader must decode, or the step fails. Blank skips the check. Compared exactly with the rack ID the reader decoded, to prove the rack on the reader is the one the schedule expects - for example a barcode published by an earlier step. Racks with no 2D rack ID on the base (early Matrix, Micronic, Remp, Abgene) can never pass this check. |
| Fail On No Read | bool | true | Fail the step if a tube is present but its code could not be decoded. A no-read is a position where a tube was found but its code could not be decoded - usually frost or a damaged code - or the code was rejected by the reader's validator. Empty positions never fail the step. With the reader's tube presence detection Off, every undecoded position counts as a no-read, empty or not. |
| Results Folder | string | None | Folder to save a CSV of the read in. Blank uses the device's Results Folder. A full drive or UNC path on the machine running Revolution, created if it is missing. The CSV has one row per position with the rack ID, well, status (Read, NoRead, Empty or NotDecoded) and barcode, and is named from the rack ID and the time of the read, so an earlier read is never overwritten. Blank here and on the device saves no file. |