Gate

SCPI Command :

MEASurement<*>:GATE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(measIndex=MeasIndex.Default) int[source]
# MEASurement<*>:GATE
value: int = driver.measurement.gate.get(measIndex = repcap.MeasIndex.Default)

Sets the gate of the indicated measurement. Enable a gate before you assign a measurement to it (method RsMxo.gate.enable.set() =ON) . The query returns 0, if no gate is assigned.

Parameters:

measIndex – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Measurement’)

Returns:

gate: Number of the gate to be used

set(gate: int, measIndex=MeasIndex.Default) None[source]
# MEASurement<*>:GATE
driver.measurement.gate.set(gate = 1, measIndex = repcap.MeasIndex.Default)

Sets the gate of the indicated measurement. Enable a gate before you assign a measurement to it (method RsMxo.gate.enable.set() =ON) . The query returns 0, if no gate is assigned.

Parameters:
  • gate – Number of the gate to be used

  • measIndex – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Measurement’)