Set

SCPI Commands

SENSe:ADEMod:SET
class SetCls[source]

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

class SetStruct[source]

Structure for setting input parameters. Fields:

  • Sample_Rate: float: numeric value The frequency at which measurement values are taken from the A/D-converter and stored in I/Q memory. Unit: HZ

  • Record_Length: float: Number of samples to be stored in I/Q memory. Range: 1 to 400001 with AF filter or AF trigger active, 1 to 480001 with both AF filter and AF trigger deactive

  • Trigger_Source: enums.TriggerSourceB: IMMediate | EXTernal | EXT2 | EXT3 | IFPower | RFPower| AF | AM | AMRelative | FM | PM Note: After selecting IF Power, the trigger threshold can be set with the [CMDLINK: TRIGger[:SEQuence]:LEVel:IFPower CMDLINK] command.

  • Trigger_Slope: enums.SlopeType: POSitive | NEGative Used slope of the trigger signal. The value indicated here will be ignored for trigger source = IMMediate.

  • Offset_Samples: float: Number of samples to be used as an offset to the trigger signal. The value indicated here is ignored for trigger source = ‘IMMediate’.

  • No_Of_Meas: float: Number of repetitions of the measurement to be executed. The value indicated here is especially necessary for the average/maxhold/minhold function. Range: 0 to 32767

get() SetStruct[source]
# SCPI: [SENSe]:ADEMod:SET
value: SetStruct = driver.sense.ademod.set.get()

This command configures the analog demodulator of the instrument.

return

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

set(structure: SetStruct) None[source]
# SCPI: [SENSe]:ADEMod:SET
structure = driver.sense.ademod.set.SetStruct()
structure.Sample_Rate: float = 1.0
structure.Record_Length: float = 1.0
structure.Trigger_Source: enums.TriggerSourceB = enums.TriggerSourceB.ACVideo
structure.Trigger_Slope: enums.SlopeType = enums.SlopeType.NEGative
structure.Offset_Samples: float = 1.0
structure.No_Of_Meas: float = 1.0
driver.sense.ademod.set.set(structure)

This command configures the analog demodulator of the instrument.

param structure

for set value, see the help for SetStruct structure arguments.