This Python example shows how to deal with command completion using an R&S NRPxx power sensor or the R&S NRX. Each part of the example performs a zero calibration followed by a single measurement.
Using my previous work on dcps as a guide, this is intended to be a generic package to control various Oscilloscopes. However, it is expected that very few oscilloscopes share the same commands so ...