Power

SCPI Commands :

INITiate:GPRF:MEASurement<Instance>:POWer
STOP:GPRF:MEASurement<Instance>:POWer
ABORt:GPRF:MEASurement<Instance>:POWer
class PowerCls[source]

Power commands group definition. 71 total commands, 13 Subgroups, 3 group commands

abort(opc_timeout_ms: int = -1) None[source]
# SCPI: ABORt:GPRF:MEASurement<Instance>:POWer
driver.power.abort()


    INTRO_CMD_HELP: Starts, stops, or aborts the measurement:

    - INITiate... starts or restarts the measurement. The measurement enters the 'RUN' state.
    - STOP... halts the measurement immediately. The measurement enters the 'RDY' state. Measurement results are kept. The resources remain allocated to the measurement.
    - ABORt... halts the measurement immediately. The measurement enters the 'OFF' state. All measurement values are set to NAV. Allocated resources are released.

Use FETCh…STATe? to query the current measurement state.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

initiate(opc_timeout_ms: int = -1) None[source]
# SCPI: INITiate:GPRF:MEASurement<Instance>:POWer
driver.power.initiate()


    INTRO_CMD_HELP: Starts, stops, or aborts the measurement:

    - INITiate... starts or restarts the measurement. The measurement enters the 'RUN' state.
    - STOP... halts the measurement immediately. The measurement enters the 'RDY' state. Measurement results are kept. The resources remain allocated to the measurement.
    - ABORt... halts the measurement immediately. The measurement enters the 'OFF' state. All measurement values are set to NAV. Allocated resources are released.

Use FETCh…STATe? to query the current measurement state.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

stop(opc_timeout_ms: int = -1) None[source]
# SCPI: STOP:GPRF:MEASurement<Instance>:POWer
driver.power.stop()


    INTRO_CMD_HELP: Starts, stops, or aborts the measurement:

    - INITiate... starts or restarts the measurement. The measurement enters the 'RUN' state.
    - STOP... halts the measurement immediately. The measurement enters the 'RDY' state. Measurement results are kept. The resources remain allocated to the measurement.
    - ABORt... halts the measurement immediately. The measurement enters the 'OFF' state. All measurement values are set to NAV. Allocated resources are released.

Use FETCh…STATe? to query the current measurement state.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.power.clone()

Subgroups