Source

SCPI Command :

WGENerator<*>:SOURce
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(waveformGen=WaveformGen.Default) WgenOperationMode[source]
# WGENerator<*>:SOURce
value: enums.WgenOperationMode = driver.wgenerator.source.get(waveformGen = repcap.WaveformGen.Default)

Selects the operation mode of the waveform generator-

Parameters:

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

Returns:

operation_mode: FUNCgen | MODulation | SWEep | ARBGenerator

  • FUNCgen: Enables the function generator and disables modulation, sweep, and arbitrary waveforms

  • MODulation: Enables the modulation, disables sweep and selects the sine function.

  • SWEep: Enables the sweep, disables modulation, and selects the sine function.

  • ARBGenerator: Selects the arbitrary function and disables modulation and sweep.

set(operation_mode: WgenOperationMode, waveformGen=WaveformGen.Default) None[source]
# WGENerator<*>:SOURce
driver.wgenerator.source.set(operation_mode = enums.WgenOperationMode.ARBGenerator, waveformGen = repcap.WaveformGen.Default)

Selects the operation mode of the waveform generator-

Parameters:
  • operation_mode

    FUNCgen | MODulation | SWEep | ARBGenerator

    • FUNCgen: Enables the function generator and disables modulation, sweep, and arbitrary waveforms

    • MODulation: Enables the modulation, disables sweep and selects the sine function.

    • SWEep: Enables the sweep, disables modulation, and selects the sine function.

    • ARBGenerator: Selects the arbitrary function and disables modulation and sweep.

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