attpcdaq.daq.models.ECCServer.refresh_state

ECCServer.refresh_state()[source]

Gets the current state of the data source from the ECC server and updates the database.

This will update the state and is_transitioning fields of the ECCServer.

Raises:ECCError – If the return code from the ECC server is nonzero.