pylabrobot.bmg_labtech.vantastar.driver.master.VANTAstarDriver.measure_z_profile#

async VANTAstarDriver.measure_z_profile(parameters: bytes, *, timeout: float = 300.0) → ZProfileData#

Run a gain and focus adjustment from prebuilt fields with the focus, and return its focus curve.

Raises:
  • RuntimeError – if the drawer is open (nothing is sent).

  • TimeoutError – if the adjustment takes longer than timeout seconds.

  • CommandRefusedError – if the reader refuses the adjustment.

  • ValueError – if the reply holds no focus curve (the fields did not adjust the focus).

Parameters:
Return type:

ZProfileData