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)

  • counter_sig (SignalR)

  • prog_num_sig (SignalRW)

  • counter_time_sig (SignalRW)

  • name (str, default: '')

Methods

complete()

Stop collecting when the scan status PV goes to 0 or when counter PV hasn't updated for 30 seconds.

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 or when counter PV hasn’t updated for 30 seconds.