Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulse_lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech QDLabs
pulse_lib
Commits
8e73eeed
Commit
8e73eeed
authored
3 years ago
by
Nico Hendrickx
Browse files
Options
Downloads
Patches
Plain Diff
added UHFLI Tektronix schedule
parent
94cd9cf7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!26
Add hw schedule for UHFLI, as well as allow the use of natively inverted VG matrices.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pulse_lib/schedule/tektronix_schedule.py
+31
-0
31 additions, 0 deletions
pulse_lib/schedule/tektronix_schedule.py
with
31 additions
and
0 deletions
pulse_lib/schedule/tektronix_schedule.py
+
31
−
0
View file @
8e73eeed
...
...
@@ -96,3 +96,34 @@ class TektronixAtsSchedule(TektronixSchedule):
logging
.
info
(
'
set trigger in ATS acquisition controller
'
)
self
.
acquisition_controller
.
pre_acquire
=
self
.
_pre_acquire
class
TektronixUHFLISchedule
(
TektronixSchedule
):
def
__init__
(
self
,
pulselib
,
lockin
,
n_reps
,
timeout
=
20e3
):
'''
Schedule for the UHFLI lockin. This is only usable with a modified
UHFLI driver, where a pre_acquire method is called before the acquisition,
similar to the ATS measurement. By default there is no way to have the
UHFLI DAQ perform code between arming and acquiring. n_reps specifies
the number of repetitions on the Tek. This is particularly useful for
the UHFLI due to the large (~300 ms) overhead in acquisition.
'''
super
().
__init__
(
pulselib
)
self
.
lockin
=
lockin
self
.
_timeout
=
timeout
self
.
n_reps
=
n_reps
def
_get_digitizer_timeout
(
self
):
# Weird design in driver. Timeout is an argument in the measure method.
# This function is kept to stay compatible. Default is 20 s. If you
# specify a different timeout in the measure method, you need to
# manually also change it in the schedule... Not ideal.
return
self
.
_timeout
def
_pre_acquire
(
self
):
for
awg
in
self
.
awgs
:
awg
.
set_sqel_loopcnt
(
self
.
n_reps
)
if
not
self
.
awg_is_slave
[
awg
.
name
]:
awg
.
force_trigger
()
def
_trigger_instr
(
self
):
logging
.
info
(
'
set trigger in modified lockin driver
'
)
self
.
lockin
.
daq
.
_daq_module
.
pre_acquire
=
self
.
_pre_acquire
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment