pylabrobot.mettler_toledo.mettler_toledo.MettlerToledoWXS205SDU#
- class pylabrobot.mettler_toledo.mettler_toledo.MettlerToledoWXS205SDU(port: str | None = None, vid: int = 1027, pid: int = 24577)#
Bases:
objectDriver for the Mettler Toledo WXS205SDU scale.
Owns the serial connection and provides a generic send_command method. Device-level operations (display) live here.
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, vid, pid])TAC - Clear tare weight value (MEM-WRITE command)
read_dynamic_weight(timeout)Read a stable weight value from the machine within a given timeout, or return the current weight value if not possible.
Read a stable weight value from the scale.
read_weight([timeout])High level function to read a weight value from the scale.
Read a weight value immediately from the scale.
Get the serial number of the scale.
Request tare weight value from scale's memory.
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.