Skip to content

Commit

Permalink
SET_FREQ at the beginning of a sequence even if TA pulse
Browse files Browse the repository at this point in the history
--DR
  • Loading branch information
CoherenceController committed Sep 6, 2016
1 parent a7e56c8 commit b0632c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/drivers/APS2Pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def inject_modulation_cmds(seqs):
if not no_modulation_cmds:
#insert phase and frequency commands before modulation command so they have the same start time
phase_freq_cmds = []
if cur_freq != entry.frequency and not entry.isTimeAmp:
if cur_freq != entry.frequency and (not entry.isTimeAmp or cur_freq==0):
if nco_select == 0x1 and cur_freq!=0:
nco_select = 0x2
else:
Expand Down

0 comments on commit b0632c2

Please sign in to comment.