Skip to content
Supported devices

LIMS

This page describes Revolution release 4.0.0.

Sapio Sciences LIMS Sample priorities in, batch reports out, over HTTP.
On this page
  1. At a glance
  2. Supported methods
  3. Integration
  4. Prerequisites
  5. Device configuration
Revo Ready

Hi, I'm Revo

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

Sapio LIMS is Sapio Sciences’ laboratory information management system. Revolution connects over HTTP to the priority and batch-report services at the URLs set on the device. The device has no hardware.

TypeSoftware integration, no hardware
ConnectionHTTP, with HTTP Basic credentials
Revolution controlGet sample priority, get batch priorities, write batch report, test connection
  • Get Batch Priorities asks about up to 192 barcodes per request and splits a longer list. With Barcodes blank it asks about every barcode held in the system’s stores.
  • Both priority operations write SapioPriorities, strJsonPriorityUpdate (a list of tubeBarcode and priority pairs) and SapioPrioritiesFromCache. A barcode the LIMS does not know is written as not priority.
  • If the LIMS does not answer within the timeout, or the lookup fails, the driver uses the last known priorities, warns the operator and sets SapioPrioritiesFromCache to true. Answers older than 7 days are not used; a sample with no usable answer is treated as not priority.
  • A priority value other than 1/0, y/n, yes/no or true/false fails the lookup.
  • Write Batch Report sends the report unchanged. The report must contain report_name. If the LIMS already has a report with that name, the step passes with SapioBatchReportStatus set to duplicate, so a report can be sent again safely.
  • In simulation, the LIMS is not contacted: every barcode is reported as priority, Write Batch Report reports accepted without sending anything, and Test Connection passes. The last known priorities are left unchanged.
  • An integration service that answers priority lookups and accepts batch reports at the URLs set below.
  • WorkingDirectory is set; initialisation fails without it.
  • For a blank Barcodes, labware barcodes are recorded in Revolution’s stores.
SettingPurpose
WorkingDirectoryFolder the last known priorities are kept in. Required
PriorityBulkUrlURL of the bulk priority service, used by Get Batch Priorities and Test Connection
PriorityUrlURL of the single-barcode priority service, used by Get Sample Priority and Test Connection
PriorityUsernameUsername for the integration service, used for every URL. Must not contain :
PriorityPasswordPassword for the integration service. Set both username and password, or neither
BatchReportUrlURL the batch report is sent to

Operations

These are available from a Run Device Operation step.

Get Batch Priorities

Ask the LIMS which samples are priority through its bulk service (PriorityBulkUrl): one request for up to 192 barcodes. Takes the barcodes, or every loaded barcode when left blank, and writes the answer to the SapioPriorities and strJsonPriorityUpdate schedule parameters. If the LIMS does not answer in time, uses the last known priorities and warns the operator.

ParameterTypeDefaultDescription
Barcodes string None Sample barcodes as a JSON array or separated by commas, semicolons or new lines. Blank = every barcode loaded in the system.
Timeout Seconds int 10 How long to wait for the LIMS before falling back to the last known priorities.

Get Sample Priority

Ask the LIMS whether one sample is priority, through its single-barcode service (PriorityUrl). Writes the answer to the SapioPriorities and strJsonPriorityUpdate schedule parameters. If the LIMS does not answer in time, uses the last known priority and warns the operator. For several barcodes use Get Batch Priorities.

ParameterTypeDefaultDescription
Barcode string None The sample barcode. For several barcodes use Get Batch Priorities.
Timeout Seconds int 10 How long to wait for the LIMS before falling back to the last known priorities.

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.

Test Connection

Check the connection to the LIMS (read-only): asks each configured priority service (PriorityUrl, PriorityBulkUrl) about a test barcode, which proves the service is reachable and accepts the credentials. Fails with the reason if a server is unreachable, rejects the credentials, or answers unexpectedly.

Write Batch Report

Send a finished batch report (P575-108) to the LIMS unchanged. Give the report as a file path or as JSON. Writes accepted or duplicate (already sent - counts as success) to SapioBatchReportStatus; any other answer fails the operation.

ParameterTypeDefaultDescription
Report Path string None Path of the batch report JSON file. Leave blank to give the JSON instead.
Report Json string None The batch report JSON itself. Leave blank to give a file path instead.