You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connect hardware module for the Windfreak SynthHDPro microwave source if possible
-Try to run an ODMR sweep
-It shows the following error: AttributeError: 'MicrowaveSynthHDPro' object has no attribute 'mw_cw_power', line 251
Expected behavior (i.e. solution)
def get_power(self):
""" Gets the microwave output power.
@return float: the power set at the device in dBm
"""
if self.current_output_mode == MicrowaveMode.CW:
# query mw power
mw_cw_power = float(self._conn.query('W?'))
self.mw_cw_power = mw_cw_power
return mw_cw_power
else:
return self.mw_sweep_power
Other Comments
The text was updated successfully, but these errors were encountered:
Hallo rajanpaul02,
thanks for opening this issue. The Windfreak SynthHDPro MW source hardware file has been created very hastily and not been used (and probably neither tested) for cw ODMR. At the moment we don't have this hardware device to reproduce your error. I have had a quick look on the file and actually there seem to be involved some bugs. Please feel free to contribute with a pull request for any bug fix.
What is affected by this bug?
Windfreak SynthHDPro microwave source hardware error
When does this occur?
While performing cw-ODMR
Where on the platform does it happen?
Windows 10 Enterprise
How do we replicate the issue?
Connect hardware module for the Windfreak SynthHDPro microwave source if possible
-Try to run an ODMR sweep
-It shows the following error: AttributeError: 'MicrowaveSynthHDPro' object has no attribute 'mw_cw_power', line 251
Expected behavior (i.e. solution)
Other Comments
The text was updated successfully, but these errors were encountered: