write_to_waveform_memory(daq: ziDAQServer, device_id: str, channel_index: int, waveforms: dict, *, channel_type: str, clear_existing: bool = True) None[source]#

Writes pulses to the waveform memory of a specified generator.

  • 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 specifying which sequencer the waveforms below are written to - there is one generator per channel.

  • waveforms (dict) – Dictionary of waveforms, the key specifies the slot to which to write the value which is a complex array containing the waveform samples.

  • channel_type (str) – Identifier specifing if the waveforms should be uploaded to the qa or sg channel. (“qa” or “sg”)

  • clear_existing (bool) – Specify whether to clear the waveform memory before the present upload. (Only used when channel_type is “qa”!)

Return type: