write_to_waveform_memory#
- write_to_waveform_memory(daq, device_id, channel_index, waveforms, *, clear_existing=True)[source]#
Writes pulses to the waveform memory of a specified generator.
- 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
) – SHFQA device identifier, e.g. dev12004 or ‘shf-dev12004’.channel_index (
int
) – Index specifying which generator 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.clear_existing (
bool
) – Specify whether to clear the waveform memory before the present upload.
- Return type
None