Dcycle
SCPI Command :
WGENerator<*>:MODulation:PWM:DCYCle
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(wgenerator=Wgenerator.Default) float[source]
# WGENerator<*>:MODulation:PWM:DCYCle value: float = driver.wgenerator.modulation.pwm.dcycle.get(wgenerator = repcap.Wgenerator.Default)
Sets the duty cycle of a square waveform for pulse width modulation, if method
RsRtx.wgenerator.modulation.typePy.set()is set to PWM.- Parameters:
wgenerator – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)
- Returns:
square_duty_cycle: 10 to 90
- set(square_duty_cycle: float, wgenerator=Wgenerator.Default) None[source]
# WGENerator<*>:MODulation:PWM:DCYCle driver.wgenerator.modulation.pwm.dcycle.set(square_duty_cycle = 1.0, wgenerator = repcap.Wgenerator.Default)
Sets the duty cycle of a square waveform for pulse width modulation, if method
RsRtx.wgenerator.modulation.typePy.set()is set to PWM.- Parameters:
square_duty_cycle – 10 to 90
wgenerator – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)