diff --git a/finesse/hardware/plugins/spectrometer/opus_interface.py b/finesse/hardware/plugins/spectrometer/opus_interface.py index 34a64d1f..ffe645d5 100644 --- a/finesse/hardware/plugins/spectrometer/opus_interface.py +++ b/finesse/hardware/plugins/spectrometer/opus_interface.py @@ -71,6 +71,7 @@ class OPUSInterface( "This is rate limited to around one request every two seconds by OPUS." ), }, + async_open=True, ): """Interface for communicating with the OPUS program. @@ -122,6 +123,10 @@ def _on_reply_received(self, reply: QNetworkReply) -> None: # If the status has changed, notify listeners if new_status != self._status: + # On first update, we need to signal that the device is now open + if self._status == SpectrometerStatus.UNDEFINED: + self.signal_is_opened() + self._status = new_status self.send_status_message(new_status)