State
SCPI Command :
FETCh:GPRF:MEASurement<Instance>:CANalyzer:STATe
- class StateCls[source]
State commands group definition. 2 total commands, 1 Subgroups, 1 group commands
- fetch(timeout: float = None, target_main_state: TargetStateA = None, target_sync_state: TargetSyncState = None) ResourceState [source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:CANalyzer:STATe value: enums.ResourceState = driver.gprf.measurement.canalyzer.state.fetch(timeout = 1.0, target_main_state = enums.TargetStateA.OFF, target_sync_state = enums.TargetSyncState.ADJusted)
Queries the main measurement state. Without query parameters, the state is returned immediately. With query parameters, the state is returned when the <TargetMainState> and the <TargetSyncState> are reached or when the <Timeout> expires.
- param timeout:
No help available
- param target_main_state:
Target MainState for the query Default is RUN.
- param target_sync_state:
Target SyncState for the query Default is ADJ.
- return:
meas_state: Current state or target state of ongoing state transition OFF: measurement off RUN: measurement running RDY: measurement completed
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.gprf.measurement.canalyzer.state.clone()
Subgroups