Range<RangePy>

RepCap Settings

# Range: Ix1 .. Ix64
rc = driver.sense.espectrum.range.repcap_rangePy_get()
driver.sense.espectrum.range.repcap_rangePy_set(repcap.RangePy.Ix1)

SCPI Command :

[SENSe]:ESPectrum<sb>:RANGe<ri>:DELete
class RangeCls[source]

Range commands group definition. 28 total commands, 11 Subgroups, 1 group commands Repeated Capability: RangePy, default value after init: RangePy.Ix1

delete(subBlock=SubBlock.Default, rangePy=RangePy.Default) None[source]
# SCPI: [SENSe]:ESPectrum<sb>:RANGe<ri>:DELete
driver.sense.espectrum.range.delete(subBlock = repcap.SubBlock.Default, rangePy = repcap.RangePy.Default)
Removes a range from the sweep list. Note that

INTRO_CMD_HELP: Note the following prerequisites for the selected transducer:

  • you cannot delete the reference range

  • a minimum of three ranges is mandatory.

param subBlock

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

param rangePy

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Range’)

delete_with_opc(subBlock=SubBlock.Default, rangePy=RangePy.Default, opc_timeout_ms: int = - 1) None[source]

Cloning the Group

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

Subgroups