Skip to content

Commit 2a67e79

Browse files
committed
Updated timing specs in labscript class
1 parent b831752 commit 2a67e79

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

labscript_devices/PrawnBlaster/labscript_devices.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ class PrawnBlaster(PseudoclockDevice):
105105
description = "PrawnBlaster"
106106
clock_limit = 1 / 60e-9
107107
clock_resolution = 10e-9
108-
trigger_delay = 70e-9
108+
# There appears to be ~50ns buffer on input and then we know there is 80ns between
109+
# trigger detection and first output pulse
110+
trigger_delay = 130e-9
111+
# Overestimate that covers indefinite waits (which labscript does not yet support)
112+
trigger_minimum_duration = 160e-9
113+
# There are 4 ASM instructions between end of pulse and being ready to detect
114+
# a retrigger
109115
wait_delay = 40e-9
110116
allowed_children = [_PrawnBlasterPseudoclock, _PrawnBlasterDummyPseudoclock]
111117
max_instructions = 60000
@@ -124,6 +130,7 @@ class PrawnBlaster(PseudoclockDevice):
124130
"clock_limit",
125131
"clock_resolution",
126132
"trigger_delay",
133+
"trigger_minimum_duration",
127134
"wait_delay",
128135
"max_instructions",
129136
],
@@ -156,6 +163,7 @@ def __init__(
156163
self.clock_limit *= factor
157164
self.clock_resolution *= factor
158165
self.trigger_delay *= factor
166+
self.trigger_minimum_duration *= factor
159167
self.wait_delay *= factor
160168

161169
# Instantiate the base class

0 commit comments

Comments
 (0)