Function
SCPI Command :
WGENerator<*>:MODulation:PWM[:FUNCtion]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(wgenerator=Wgenerator.Default) WgenModulationFnc[source]
# WGENerator<*>:MODulation:PWM[:FUNCtion] value: enums.WgenModulationFnc = driver.wgenerator.modulation.pwm.function.get(wgenerator = repcap.Wgenerator.Default)
Sets the type of the modulation signal for the 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:
signal_type: SINusoid | SQUare | RAMP
- set(signal_type: WgenModulationFnc, wgenerator=Wgenerator.Default) None[source]
# WGENerator<*>:MODulation:PWM[:FUNCtion] driver.wgenerator.modulation.pwm.function.set(signal_type = enums.WgenModulationFnc.RAMP, wgenerator = repcap.Wgenerator.Default)
Sets the type of the modulation signal for the pulse width modulation, if method
RsRtx.wgenerator.modulation.typePy.set()is set to PWM.- Parameters:
signal_type – SINusoid | SQUare | RAMP
wgenerator – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)