Depth
SCPI Command :
WGENerator<*>:MODulation:PWM:DEPTh
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(wgenerator=Wgenerator.Default) float[source]
# WGENerator<*>:MODulation:PWM:DEPTh value: float = driver.wgenerator.modulation.pwm.depth.get(wgenerator = repcap.Wgenerator.Default)
Sets the modulation depth for pulse width modulation.
- Parameters:
wgenerator – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)
- Returns:
depth: 0 to 100
- set(depth: float, wgenerator=Wgenerator.Default) None[source]
# WGENerator<*>:MODulation:PWM:DEPTh driver.wgenerator.modulation.pwm.depth.set(depth = 1.0, wgenerator = repcap.Wgenerator.Default)
Sets the modulation depth for pulse width modulation.
- Parameters:
depth – 0 to 100
wgenerator – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Wgenerator’)