Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions socs/agents/pysmurf_controller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,8 +1148,8 @@ def restart_rssi(self, session, params):
if not acquired:
return False, f"Operation failed: {self.lock.job} is running."

S, cfg = self._get_smurf_control(session=session)
S._caput(S.epics_root + ":AMCc:RestartRssi", 1)
# if the system is locked up, spawning a SmurfControl instance will hang
epics.caput(f"smurf_server_s{self.slot}:AMCc:RestartRssi", 1)

return True, "RestartRssi sent"

Expand Down