Counter

SCPI Command:

INITiate:AFRF:MEASurement<Instance>:FREQuency:COUNter
ABORt:AFRF:MEASurement<Instance>:FREQuency:COUNter
FETCh:AFRF:MEASurement<Instance>:FREQuency:COUNter
class CounterCls[source]

Counter commands group definition. 4 total commands, 1 Subgroups, 3 group commands

class FetchStruct[source]

Response structure. Fields:

  • Reliability: int: See ‘Reliability indicator values’

  • Frequency: float: Frequency of signal peak Range: 0 Hz to 3 GHz, Unit: Hz

  • Level: float: Power of signal peak Unit: dBm

abort() None[source]
# SCPI: ABORt:AFRF:MEASurement<Instance>:FREQuency:COUNter
driver.afRf.measurement.frequency.counter.abort()

Aborts the search procedure for an RF signal. The configured RF settings are not modified.

abort_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: ABORt:AFRF:MEASurement<Instance>:FREQuency:COUNter
driver.afRf.measurement.frequency.counter.abort_with_opc()

Aborts the search procedure for an RF signal. The configured RF settings are not modified.

Same as abort, but waits for the operation to complete before continuing further. Use the RsCma.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms:

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

fetch() FetchStruct[source]
# SCPI: FETCh:AFRF:MEASurement<Instance>:FREQuency:COUNter
value: FetchStruct = driver.afRf.measurement.frequency.counter.fetch()

Queries the search procedure results.

return:

structure: for return value, see the help for FetchStruct structure arguments.

initiate() None[source]
# SCPI: INITiate:AFRF:MEASurement<Instance>:FREQuency:COUNter
driver.afRf.measurement.frequency.counter.initiate()

Starts the search procedure to find an RF signal.

initiate_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: INITiate:AFRF:MEASurement<Instance>:FREQuency:COUNter
driver.afRf.measurement.frequency.counter.initiate_with_opc()

Starts the search procedure to find an RF signal.

Same as initiate, but waits for the operation to complete before continuing further. Use the RsCma.utilities.opc_timeout_set() to set the timeout value.

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.afRf.measurement.frequency.counter.clone()

Subgroups