Set

SCPI Command :

[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. Allowed range: refer to ‘Sample rate and demodulation bandwidth’. 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: Selection of the trigger source to use for the demodulator. For details on trigger sources see ‘Trigger Source’. Note: After selecting IF Power, the trigger threshold can be set with the [CMDLINKRESOLVED Applications.K17_Mcgd.Trigger.Sequence.Level.IfPower#set CMDLINKRESOLVED] 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. For details refer to ‘Sample rate and demodulation bandwidth’. 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()

Configures the analog demodulator of the instrument.

return

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

set(structure: RsFsw.Implementations.Sense.Ademod.Set.SetCls.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)

Configures the analog demodulator of the instrument.

param structure

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