diff --git a/shared/dactino.tex b/shared/dactino.tex new file mode 100644 index 0000000..9ad1133 --- /dev/null +++ b/shared/dactino.tex @@ -0,0 +1,31 @@ +\newcommand{\generaldescription}[2] { + + \section{General Description} + + The #1 is a 4hp EEM module, part of the ARTIQ/Sinara family. It adds digital-analog conversion capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC. It is closely related to the #2 and the two cards share a compatible output interface. + + It provides four groups of eight analog channels each, exposed by one HD68 connector. Each channel supports output voltage from -10 V to 10 V. All channels can be updated simultaneously. Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528 SMA-IDC or 5538 MCX-IDC cards. +} + +\newcommand{\codesectiondactino}[3] { + + \codesection{#1} + + \subsection{Setting output voltage} + + The following example initializes the #2 card, then emits 1.0 V, 2.0 V, 3.0 V and 4.0 V at channels 0, 1, 2, and 3 respectively. Voltage of all 4 channels is updated simultaneously with the use of \texttt{set\char`_dac()}. + + \inputcolorboxminted{firstline=11,lastline=22}{examples/#3} + + % this new page works for both datasheets, but may not if sections are added +\newpage + + \subsection{Triangular wave} + + The following example generates a triangular waveform at 10 Hz, 16 V peak-to-peak. Timing accuracy of the RTIO system can be demonstrated by the precision of the frequency. + + Import \texttt{scipy.signal} and \texttt{numpy} modules to run this example. + + \inputcolorboxminted{firstline=30,lastline=49}{examples/#3} + +} \ No newline at end of file