pylabrobot.brooks.precise_flex.PreciseFlex.set_parameter#

async PreciseFlex.set_parameter(data_id: int, value, unit_number: int | None = None, sub_unit: int | None = None, array_index: int | None = None) None#

Change a value in the controller’s parameter database.

Parameters:
  • data_id (int) – DataID of parameter.

  • value – New parameter value. If string, will be quoted automatically.

  • unit_number (int | None) – Unit number, usually the robot number (1 - N_ROB).

  • sub_unit (int | None) – Sub-unit, usually 0.

  • array_index (int | None) – Array index.

Return type:

None

Note

Updated values are not saved in flash unless a save-to-flash operation is performed (see DataID 901).