pylabrobot.brooks.precise_flex.PreciseFlexVision.request_vision_tool_property#

async PreciseFlexVision.request_vision_tool_property(tool: str, property_name: str) → str#

Read a PreciseVision tool property over the controller (VToolProperty <tool> <prop>).

The controller relays the read and answers with the bare value, no <code> <data> prefix. Named vision_ because tool on the controller already means the robot’s tool frame.

Parameters:
  • tool (str) – the vision tool name (e.g. led, acq1, or System for server properties).

  • property_name (str) – the tool property name (e.g. Bank, Brightness, CameraCount).

Returns:

The bare property value.

Raises:

PreciseFlexError – on a negative reply (a vision error code).

Return type:

str