Dcycle

SCPI Command :

WGENerator<*>:MODulation:AM:DCYCle
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(waveformGen=WaveformGen.Default) float[source]
# WGENerator<*>:MODulation:AM:DCYCle
value: float = driver.wgenerator.modulation.am.dcycle.get(waveformGen = repcap.WaveformGen.Default)

Sets the duty cycle for a square waveform. The duty cycle expresses for what percentage fraction of the period, the waveform is active, i.e. the signal state is high.

Parameters:

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

Returns:

square_duty_cycle: 10 to 90

set(square_duty_cycle: float, waveformGen=WaveformGen.Default) None[source]
# WGENerator<*>:MODulation:AM:DCYCle
driver.wgenerator.modulation.am.dcycle.set(square_duty_cycle = 1.0, waveformGen = repcap.WaveformGen.Default)

Sets the duty cycle for a square waveform. The duty cycle expresses for what percentage fraction of the period, the waveform is active, i.e. the signal state is high.

Parameters:
  • square_duty_cycle – 10 to 90

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