configure_sine_generation#

configure_sine_generation(daq: ziDAQServer, device_id: str, channel_index: int, *, enable: int, 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 of a specified SG channel.

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

Parameters:
  • daq (ziDAQServer) – Instance of a Zurich Instruments API session connected to a Data Server. The device with identifier device_id is assumed to already be connected to this instance.

  • device_id (str) – SHFQC device identifier, e.g. dev12004 or ‘shf-dev12004’.

  • channel_index (int) – Index of the used SG channel.

  • enable (int) – Enables the sine generator output.

  • 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 this 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