configure_pulse_modulation#

configure_pulse_modulation(daq, device_id, channel_index, *, enable, osc_index=0, osc_frequency=100000000.0, phase=0.0, global_amp=0.5, gains=(1.0, - 1.0, 1.0, 1.0), sine_generator_index=0)[source]#

Configure the pulse modulation.

Configures the sine generator to digitally modulate the AWG output, for generating single sideband AWG signals.

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) – SHFSG device identifier, e.g. dev12004 or ‘shf-dev12004’

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

  • enable (int) – Enables modulation.

  • osc_index (int) – Selects which oscillator to use.

  • osc_frequency (float) – Oscillator frequency used to modulate the AWG outputs. (default = 100e6)

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

  • global_amp (float) – Global scale factor for the AWG outputs. (default = 0.5)

  • gains (tuple) – Sets the four amplitudes used for single sideband generation. default values correspond to upper sideband with a positive oscillator frequency. (default = (1.0, -1.0, 1.0, 1.0))

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

Return type

None