All

SCPI Command :

FETCh:GPRF:MEASurement<Instance>:POWer:STATe:ALL
class AllCls[source]

All commands group definition. 1 total commands, 0 Subgroups, 1 group commands

fetch(timeout: float = None, target_main_state: TargetMainState = None, target_sync_state: TargetSyncState = None) List[ResourceState][source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:POWer:STATe:ALL
value: List[enums.ResourceState] = driver.power.state.all.fetch(timeout = 1.0, target_main_state = enums.TargetMainState.OFF, target_sync_state = enums.TargetSyncState.ADJusted)

Queries the main measurement state and the measurement substates. Without query parameters, the states are returned immediately. With query parameters, the states are returned when the <TargetMainState> and the <TargetSyncState> are reached or when the <Timeout> expires.

param timeout:

numeric Unit: ms

param target_main_state:

OFF | RUN | RDY Target MainState for the query Default is RUN.

param target_sync_state:

PENDing | ADJusted Target SyncState for the query Default is ADJ.

return:

meas_state: No help available