attpcdaq.daq.tasks.eccserver_change_state_task

attpcdaq.daq.tasks.eccserver_change_state_task = <@task: attpcdaq.daq.tasks.eccserver_change_state_task of attpcdaq:0x7f59340ea748>[source]

Change the state of an ECC server (make it perform a transition).

This will contact the ECC server identified by the given primary key and tell it to transition to the given target state. This is done by calling change_state() on the ECCServer object.

Parameters:
  • eccserver_pk (int) – The ECC server’s integer primary key.
  • target_state (int) – The target state. Use one of the constants from the ECCServer class.