Function
SCPI Command :
WGENerator<*>:MODulation:PWM[:FUNCtion]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(waveformGen=WaveformGen.Default) WgenSignalType[source]
# WGENerator<*>:MODulation:PWM[:FUNCtion] value: enums.WgenSignalType = driver.wgenerator.modulation.pwm.function.get(waveformGen = repcap.WaveformGen.Default)
Selects the type of the modulating signal for PWM modulation.
- Parameters:
waveformGen – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)
- Returns:
signal_type: SINusoid | SQUare | RAMP
- set(signal_type: WgenSignalType, waveformGen=WaveformGen.Default) None[source]
# WGENerator<*>:MODulation:PWM[:FUNCtion] driver.wgenerator.modulation.pwm.function.set(signal_type = enums.WgenSignalType.RAMP, waveformGen = repcap.WaveformGen.Default)
Selects the type of the modulating signal for PWM modulation.
- Parameters:
signal_type – SINusoid | SQUare | RAMP
waveformGen – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)