quickfix wip falcon direct

This commit is contained in:
2025-06-18 08:51:28 +02:00
parent 45ad518290
commit 4f9e61cf36

View File

@@ -190,9 +190,7 @@ class FalconSuperXASDirect(PSIDeviceBase, FalconControlDirect):
Called after the device is connected and its signals are connected.
Default values for signals should be set here.
"""
self.mca1.spectrum.subscribe(
self._update_preview, run=False, run_kwargs={"event_type": "value"}
)
self.mca1.spectrum.subscribe(self._update_preview, run=False)
def _update_preview(self, old_value, value, **kwargs) -> None:
"""Update the preview signal with the latest spectrum data."""