pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationLedBar.show_progress#
- async MantisSimulationLedBar.show_progress(*, done: int, total: int) None#
Light
round(number_of_leds * done / total)LEDs from the left indispense_progress_color, at least one oncedone> 0, the rest off; nothing is sent when that many are already lit.Each frame holds the link about 62 ms (measured on a v4): show at most
number_of_ledsframes per action.- Parameters:
- Raises:
ValueError – if
totalis below 1, ordonebelow 0 or abovetotal; nothing is sent.- Return type:
None