pylabrobot.scales.mettler_toledo.MettlerToledoWXS205SDU.get_weight

pylabrobot.scales.mettler_toledo.MettlerToledoWXS205SDU.get_weight#

async MettlerToledoWXS205SDU.get_weight(timeout: Literal['stable'] | float | int = 'stable') float#

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

Parameters:

timeout (Literal['stable'] | float | int) – The timeout in seconds. If “stable”, the scale will return a weight value when the weight is stable. If 0, the scale will return a weight value immediately. If a float/int, the scale will return a weight value after the given timeout (in seconds).

Return type:

float