diff --git a/2118-2128.tex b/2118-2128.tex index c3f1141..7a81031 100644 --- a/2118-2128.tex +++ b/2118-2128.tex @@ -437,27 +437,27 @@ Timing accuracy in the examples below is well under 1 nanosecond thanks to the A \subsection{One pulse per second} The channel should be configured as output in both the gateware and hardware. -\inputcolorboxminted{firstline=9,lastline=15}{examples/ttl.py} +\inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py} \newpage \subsection{Morse code} This example demonstrates some basic algorithmic features of the ARTIQ-Python language. -\inputcolorboxminted{firstline=23,lastline=40}{examples/ttl.py} +\inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py} \subsection{Counting rising edges in a 1ms window} The channel should be configured as input in both the gateware and hardware. -\inputcolorboxminted{firstline=48,lastline=53}{examples/ttl.py} +\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. If the gateware counter is enabled on the TTL channel, it can typically count up to 125 million events per second: -\inputcolorboxminted{firstline=61,lastline=66}{examples/ttl.py} +\inputcolorboxminted{firstline=60,lastline=65}{examples/ttl.py} \newpage \subsection{Responding to an external trigger} One channel needs to be configured as input, and the other as output. -\inputcolorboxminted{firstline=75,lastline=81}{examples/ttl.py} +\inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py} \section{Ordering Information} To order, please visit \url{https://m-labs.hk} and select the 2118 BNC-TTL/2128 SMA-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}. diff --git a/2238.tex b/2238.tex index 46332ff..29dad99 100644 --- a/2238.tex +++ b/2238.tex @@ -563,24 +563,24 @@ Timing accuracy in the examples below is well under 1 nanosecond thanks to the A \subsection{One pulse per second} The channel should be configured as output in both the gateware and hardware. -\inputcolorboxminted{firstline=9,lastline=15}{examples/ttl.py} +\inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py} \subsection{Morse code} This example demonstrates some basic algorithmic features of the ARTIQ-Python language. -\inputcolorboxminted{firstline=23,lastline=40}{examples/ttl.py} +\inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py} \newpage \subsection{Counting rising edges in a 1ms window} The channel should be configured as input in both the gateware and hardware. -\inputcolorboxminted{firstline=48,lastline=53}{examples/ttl.py} +\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. If the gateware counter is enabled on the TTL channel, it can typically count up to 125 million events per second: -\inputcolorboxminted{firstline=61,lastline=66}{examples/ttl.py} +\inputcolorboxminted{firstline=60,lastline=65}{examples/ttl.py} \subsection{Responding to an external trigger} One channel needs to be configured as input, and the other as output. -\inputcolorboxminted{firstline=75,lastline=81}{examples/ttl.py} +\inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py} \section{Ordering Information} To order, please visit \url{https://m-labs.hk} and select the 2238 MCX-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}. diff --git a/2245.tex b/2245.tex index 79da33e..c495a02 100644 --- a/2245.tex +++ b/2245.tex @@ -469,24 +469,24 @@ Timing accuracy in the examples below is well under 1 nanosecond thanks to the A \subsection{One pulse per second} The channel should be configured as output in both the gateware and hardware. -\inputcolorboxminted{firstline=9,lastline=15}{examples/ttl.py} +\inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py} \subsection{Morse code} This example demonstrates some basic algorithmic features of the ARTIQ-Python language. -\inputcolorboxminted{firstline=23,lastline=40}{examples/ttl.py} +\inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py} \newpage \subsection{Counting rising edges in a 1ms window} The channel should be configured as input in both the gateware and hardware. -\inputcolorboxminted{firstline=48,lastline=53}{examples/ttl.py} +\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. If the gateware counter is enabled on the TTL channel, it can typically count up to 125 million events per second: -\inputcolorboxminted{firstline=61,lastline=66}{examples/ttl.py} +\inputcolorboxminted{firstline=60,lastline=65}{examples/ttl.py} \subsection{Responding to an external trigger} One channel needs to be configured as input, and the other as output. -\inputcolorboxminted{firstline=75,lastline=81}{examples/ttl.py} +\inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py} \section{Ordering Information} To order, please visit \url{https://m-labs.hk} and select the 2245 LVDS-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}. diff --git a/examples/ttl.py b/examples/ttl.py index 01080eb..b98603e 100644 --- a/examples/ttl.py +++ b/examples/ttl.py @@ -9,7 +9,6 @@ class OnePulsePerSecond(EnvExperiment): @kernel def run(self): self.core.reset() - self.core.break_realtime() while True: self.ttl0.pulse(500*ms) delay(500*ms)