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)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 the serial number of the scale.
Get a stable weight value from the scale.
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 a weight value immediately from the scale.
send_command
(command[, timeout])Send a command to the scale and receive the response.
set_display_text
(text)Set the display text of the scale.
Return the display to the normal weight display.
setup
()stop
()tare
([timeout])High level function to tare the scale.
Tare the scale immediately.
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 the scale immediately.
Zero the scale when the weight is stable.
zero_timeout
(timeout)Zero the scale after a given timeout.
- Parameters:
port (str)