Dcycle

SCPI Command :

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

Sets the duty cycle for the pulse function.

Parameters:

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

Returns:

square_duty_cycle: 0.01 to 99.99

set(square_duty_cycle: float, waveformGen=WaveformGen.Default) None[source]
# WGENerator<*>:FUNCtion[:SQUare]:DCYCle
driver.wgenerator.function.square.dcycle.set(square_duty_cycle = 1.0, waveformGen = repcap.WaveformGen.Default)

Sets the duty cycle for the pulse function.

Parameters:
  • square_duty_cycle – 0.01 to 99.99

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