configure_sine_generation#

SGChannel.configure_sine_generation(*, enable: bool, osc_index: int = 0, osc_frequency: float = 100000000.0, phase: float = 0.0, gains: tuple = (0.0, 1.0, 1.0, 0.0), sine_generator_index: int = 0) None[source]#

Configures the sine generator output.

Configures the sine generator output of a specified channel for generating continuous wave signals without the AWG.

Parameters:
  • enable (bool) – Flag if the sine generator output should be enabled.

  • osc_index (int) – Selects which oscillator to use

  • osc_frequency (float) – Oscillator frequency used by the sine generator (default = 100e6)

  • phase (float) – Sets the oscillator phase. (default = 0.0)

  • gains (tuple) – Sets the four amplitudes used for single sideband generation. Default values correspond to upper sideband with a positive oscillator frequency. Gains are set in the following order I/sin, I/cos, Q/sin, Q/cos. (default = (0.0, 1.0, 1.0, 0.0))

  • sine_generator_index (int) – Selects which sine generator to use on a given channel

Return type:

None