Output#

SCPI Commands :

[SOURce<HW>]:PGENerator:OUTPut:POLarity
[SOURce<HW>]:PGENerator:OUTPut:[STATe]
Commands in total: 2
Subgroups: 0
Direct child commands: 2
get_polarity ( ) → NormalInverted
set_polarity ( polarity: NormalInverted ) → None
# [SOURce<HW>]:PGENerator:OUTPut:POLarity
# get:
value: enums.NormalInverted = driver.source.pgenerator.output.get_polarity()
# set:
driver.source.pgenerator.output.set_polarity(polarity = enums.NormalInverted.INVerted)

Sets the polarity of the pulse output signal.

Parameters:

polarity – NORMal | INVerted

  • NORMal: Outputs the pulse signal during the pulse width, that means during the high state.

  • INVerted: Inverts the pulse output signal polarity. The pulse output signal is suppressed during the pulse width, but provided during the low state.

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:PGENerator:OUTPut:[STATe]
# get:
value: bool = driver.source.pgenerator.output.get_state()
# set:
driver.source.pgenerator.output.set_state(state = False)

Activates the output of the pulse modulation signal.

Parameters:

state – 1 | ON | 0| OFF