dodal.devices.i24.pmac.ProgramRunner#

class dodal.devices.i24.pmac.ProgramRunner[source]#

Run the collection by setting the program number on the PMAC string.

Once the program number has been set, wait for the collection to be complete. This will only be true when the status becomes 0.

Parameters:
  • pmac_str_sig (SignalRW)

  • status_sig (SignalR)

  • prog_num_sig (SignalRW)

  • collection_time_sig (SignalRW)

  • backend (SignalBackend)

  • timeout (float | None, default: 10.0)

  • name (str, default: '')

Methods

complete()

Stop collecting when the scan status PV goes to 0.

kickoff()

Kick off the collection by sending a program number to the pmac_string and wait for the scan status PV to go to 1.

Attributes

kickoff()[source]#

Kick off the collection by sending a program number to the pmac_string and wait for the scan status PV to go to 1.

complete()[source]#

Stop collecting when the scan status PV goes to 0.

Parameters:

complete_time (float) – total time required by the collection to finish correctly.