All parameters below are latched and only updated when a real-time instruction (like upd_param or play) is executed.
The wait real-time instruction does not update latched parameters.
To understand the functionalities of the instructions that follow, let us model the total phase of the NCO as defined in the control sequencer page.
\(\phi_\text{acc}(t) = 2\pi f t' + \Phi + \phi\)
Hereon, by accumulated phase we mean \(\phi_\text{acc}\), by phase we mean \(\phi_0\), and by phase kick we refer to \(\delta\phi\).
Instruction |
Signature |
Execution Time (ns) |
Description |
|---|---|---|---|
set_mrk |
|
4 |
Set marker output channels to |
set_freq |
|
4 |
Sets the NCO frequency (f) to |
reset_ph |
— |
4 |
Resets the NCO’s accumulated phase to zero. by setting \(t' \rightarrow 0\), \(\Phi \rightarrow 0\) and \(\Phi \rightarrow 0\). |
set_ph |
|
4 |
Sets the NCO phase offset \(\phi\) to |
set_ph_delta |
|
4 |
Adds an instantaneous phase kick (\(\Delta\phi\)) to the NCO’s total phase (\(t'\rightarrow t' + \delta\phi/(2\pi f)\)). This is useful for applying dynamic phase shifts during a sequence. |
set_awg_gain |
|
4 |
Sets the signal gain for the two AWG paths. Values are integers from –32,768 to 32,767. |
set_awg_offs |
|
4 |
Sets the signal offset for the two AWG paths. Values are integers from –32,768 to 32,767. |