pylabrobot.brooks.precise_flex.PreciseFlex.reset#

async PreciseFlex.reset(robot_number: int) None#

Reset the threads associated with the specified robot.

Stops and restarts the threads for the specified robot. Any TCP/IP connections made by these threads are broken. This command can only be sent to the status thread.

Parameters:

robot_number (int) – The number of the robot thread to reset, from 1 to N_ROB. Must not be zero.

Raises:

ValueError – If robot_number is zero or negative.

Return type:

None