load_sequencer_program#
- load_sequencer_program(daq, device_id, channel_index, sequencer_program, *, channel_type, awg_module=None, timeout=10)[source]#
Compiles and loads a program to a specified sequencer.
- 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 specifying to which sequencer the program below is uploaded - there is one sequencer per channel. (Always 0 for the qa channel)sequencer_program (
str
) – Sequencer program to be uploaded.channel_type (
str
) – Identifier specifing if the sequencer from the qa or sg channel should be used. (“qa” or “sg”)awg_module (
Optional
[AwgModule
]) – AWG module instance used to interact with the sequencer. If none is provided, a new local instance will be created.timeout (
float
) – Maximum time to wait for the compilation on the device in seconds.
- Return type
None