pylabrobot.scales.mettler_toledo.MettlerToledoWXS205SDU#

class pylabrobot.scales.mettler_toledo.MettlerToledoWXS205SDU(port: str)#

Bases: ScaleBackend

Backend for the Mettler Toledo WXS205SDU scale.

This scale is used by Hamilton in the liquid verification kit (LVK).

Documentation: https://web.archive.org/web/20240208213802/https://www.mt.com/dam/ product_organizations/industry/apw/generic/11781363_N_MAN_RM_MT-SICS_APW_en.pdf

From the docs:

“If several commands are sent in succession without waiting for the corresponding responses, it is possible that the weigh module/balance confuses the sequence of command processing or ignores entire commands.”

Methods

__init__(port)

clear_tare()

TAC - Clear tare weight value

deserialize(data)

get_dynamic_weight(timeout)

Get a stable weight value from the machine if possible within a given timeout, or return the current weight value if not possible.

get_serial_number()

Get the serial number of the scale.

get_stable_weight()

Get a stable weight value from the scale.

get_tare_weight()

TA - Tare weight value Description "Use TA to query the current tare value or preset a known tare value."

get_weight([timeout])

High level function to get a weight value from the scale.

get_weight_value_immediately()

Get a weight value immediately from the scale.

send_command(command[, timeout])

Send a command to the scale and receive the response.

serialize()

set_display_text(text)

Set the display text of the scale.

set_weight_display()

Return the display to the normal weight display.

setup()

stop()

tare([timeout])

High level function to tare the scale.

tare_immediately()

Tare the scale immediately.

tare_stable()

Tare the scale when the weight is stable.

tare_timeout(timeout)

Tare the scale after a given timeout.

zero([timeout])

High level function to zero the scale.

zero_immediately()

Zero the scale immediately.

zero_stable()

Zero the scale when the weight is stable.

zero_timeout(timeout)

Zero the scale after a given timeout.

Parameters:

port (str)