Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
artiq_experiments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Nunez Barreto
artiq_experiments
Commits
5f234c2b
Commit
5f234c2b
authored
Jun 24, 2021
by
Lucas Giardino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrijo 1us extra y subo vcd
parent
a5bd07d8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33229 additions
and
6 deletions
+33229
-6
single_transition.py
artiq_master/repository/Experiments/single_transition.py
+7
-6
20210624_transicionSP.vcd
artiq_master/results/2021-06-24/16/20210624_transicionSP.vcd
+33222
-0
No files found.
artiq_master/repository/Experiments/single_transition.py
View file @
5f234c2b
...
...
@@ -15,7 +15,7 @@ class SingleLine(EnvExperiment):
self
.
setattr_device
(
"ccb"
)
self
.
pmt
=
self
.
get_device
(
"ttl0"
)
#
self.pmt_state = self.get_device("ttl4")
self
.
pmt_state
=
self
.
get_device
(
"ttl4"
)
self
.
laserUV
=
UrukulCh
(
self
,
ch
=
2
,
freq
=
110.0
,
amp
=
0.3
,
name
=
"UV"
)
#corresponde a 0.7 Vpp
self
.
laserIR
=
UrukulCh
(
self
,
ch
=
1
,
freq
=
208.0
,
amp
=
0.35
,
name
=
"IR"
)
#corresponde a 0.8 Vpp
...
...
@@ -88,11 +88,11 @@ class SingleLine(EnvExperiment):
def
init_kernel
(
self
):
self
.
core
.
reset
()
self
.
pmt
.
input
()
#
self.pmt_state.output()
self
.
pmt_state
.
output
()
self
.
laserIR
.
initialize_channel
()
self
.
laserUV
.
initialize_channel
()
# Quizas haya errores de tiempo.
#
self.pmt_state.off()
self
.
pmt_state
.
off
()
self
.
laserIR
.
set_channel
()
self
.
laserUV
.
set_channel
()
self
.
core
.
wait_until_mu
(
now_mu
())
...
...
@@ -120,12 +120,13 @@ class SingleLine(EnvExperiment):
self
.
laserUV
.
on
()
# Prendo y apago la TTL para ver en el osc.
self
.
pmt_state
.
on
()
here
=
self
.
pmt
.
gate_rising
(
self
.
t_readout
)
self
.
pmt_state
.
off
()
#self.pmt_state.pulse(self.t_readout)
#cuentas = self.pmt.count(here)
delay
(
1
*
us
)
#
delay(1*us)
self
.
enfriar_ion
()
return
here
...
...
@@ -143,4 +144,4 @@ class SingleLine(EnvExperiment):
self
.
core
.
break_realtime
()
self
.
laserIR
.
off
()
self
.
laserUV
.
off
()
#
self.pmt_state.off()
self
.
pmt_state
.
off
()
artiq_master/results/2021-06-24/16/20210624_transicionSP.vcd
0 → 100644
View file @
5f234c2b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment