If this were the case, we could inherit from these classes and add support (in our local codebase, not asking you to support them explicitly!) for other R&S VNA's, such as the ZNL and the ZNLE. These VNA's follow the exact same programming as the ZNB but have different ranges for their frequencies and powers, for which right now we have to copy & paste most of the ZNB driver and adjust these few lines.
Hello! In https://github.com/microsoft/Qcodes/blob/d4e1e15de07c4d3a4cd94445dd614637d96aec31/src/qcodes/instrument_drivers/rohde_schwarz/ZNB.py#L1057, would it be possible to move
outside of the init so that it becomes a class attribute that we can override, and then in the init just do
The same question would hold for
in https://github.com/microsoft/Qcodes/blob/d4e1e15de07c4d3a4cd94445dd614637d96aec31/src/qcodes/instrument_drivers/rohde_schwarz/ZNB.py#L440C1-L445C10
If this were the case, we could inherit from these classes and add support (in our local codebase, not asking you to support them explicitly!) for other R&S VNA's, such as the ZNL and the ZNLE. These VNA's follow the exact same programming as the ZNB but have different ranges for their frequencies and powers, for which right now we have to copy & paste most of the ZNB driver and adjust these few lines.