Closed mcgarc closed 5 months ago
As I was writing the text for the PR, I noticed that there is already some intention of avoiding this bug in the code (check on len(self.monitors) == 0
in lockclient.py
line 823). However, that doesn't seem to ever be activated for us, so I will investigate this further before submitting the PR.
Closing this as I can no longer reproduce this behvaiour.
We found when running the operation example with no monitor RedPitaya that
set_monitor
would fail. This appears to be a bug, as the doumentation indicates that it should be possible to run while using a separate oscilloscope to monitor the traces.This pull request address this by making changes to the
set_monitor
method to check if a monitor RP is defined before attempting to retrieve it from the dictionary.