Skip to content

Commit 42cd99e

Browse files
committed
add LRIS2 wdl files that can drive the Bonn shutter, based on cryoscope source files
1 parent bf47467 commit 42cd99e

16 files changed

Lines changed: 271999 additions & 0 deletions

acf/lris2.acf

Lines changed: 693 additions & 0 deletions
Large diffs are not rendered by default.

src/lris2/.modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[CONFIG]

src/lris2/.system

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[SYSTEM]
2+
BACKPLANE_ID=0000000000000000
3+
BACKPLANE_REV=0
4+
BACKPLANE_TYPE=1
5+
BACKPLANE_VERSION=0.0.0

src/lris2/lris2.cds

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/* -*- C -*- */
2+
/** ---------------------------------------------------------------------------
3+
* @file cryoscope.cds
4+
* @brief CDS/Deinterlace parameters for cryoscope instrument
5+
*/
6+
7+
#include "mod10vcpu" /* include the VCPU code for MOD10 */
8+
9+
BIGBUF=0 /* _ARCHON_FRAMEBUFS */
10+
FRAMEMODE=1 /* _ARCHON_FRAMEMODE */
11+
LINECOUNT=2048 /* _DARK_ROWS(0) + _MAX_ROWS(2048) */
12+
PIXELCOUNT=64 /* _MAX_XADDR */
13+
RAWENABLE=0 /* _RAW_ENABLE */
14+
RAWENDLINE=10 /* _RAW_ENDLINE */
15+
RAWSAMPLES=25600 /* _RAW_SAMPLES */
16+
RAWSEL=0 /* _RAW_SELECT */
17+
RAWSTARTLINE=0 /* _RAW_STARTLINE */
18+
RAWSTARTPIXEL=0 /* _RAW_STARTPIXEL */
19+
SAMPLEMODE=0 /* _ARCHON_SAMPLE_MODE */
20+
SHP1=256 /* _FIRST_RESET_SAMPLE */
21+
SHP2=692 /* _LAST_RESET_SAMPLE */
22+
SHD1=700 /* _FIRST_VIDEO_SAMPLE */
23+
SHD2=700 /* _LAST_VIDEO_SAMPLE */
24+
TAPLINE0="AM26L,1,0" /* Out0 ->VT16 -> ADCH13 -> ADM26*/ /* H2RG -> Preamp -> SAMTEC -> Archon*/
25+
TAPLINE1="AM45R,1,0" /* Out1 ->VB1 -> ADCH20 -> ADM45*/
26+
TAPLINE2="AM28L,1,0" /* Out2 ->VB16 -> ADCH12 -> ADM28*/
27+
TAPLINE3="AM49R,1,0" /* Out3 ->VB2 -> ADCH18 -> ADM49*/
28+
TAPLINE4="AM43L,1,0" /* Out4 ->VT1 -> ADCH21 -> ADM43*/
29+
TAPLINE5="AM47R,1,0" /* Out5 ->VT2 -> ADCH19 -> ADM47*/
30+
TAPLINE6="AM30L,1,0" /* Out6 ->VT15 -> ADCH11 -> ADM30*/
31+
TAPLINE7="AM33R,1,0" /* Out7 ->VT14 -> ADCH1 -> ADM33*/
32+
TAPLINE8="AM32L,1,0" /* Out8 ->VB15 -> ADCH10 -> ADM32*/
33+
TAPLINE9="AM48R,1,0" /* Out9 ->VT11 -> ADCH27 -> ADM48*/
34+
TAPLINE10="AM23L,1,0" /* Out10 ->VB13 -> ADCH6 -> ADM23*/
35+
TAPLINE11="AM40R,1,0" /* Out11 ->VT4 -> ADCH31 -> ADM40*/
36+
TAPLINE12="AM35L,1,0" /* Out12 ->VB14 -> ADCH0 -> ADM35*/
37+
TAPLINE13="AM27R,1,0" /* Out13 ->VB5 -> ADCH4 -> ADM27*/
38+
TAPLINE14="AM44L,1,0" /* Out14 ->VT12 -> ADCH29 -> ADM44*/
39+
TAPLINE15="AM22R,1,0" /* Out15 ->VT8 -> ADCH15 -> ADM22*/
40+
TAPLINE16="AM50L,1,0" /* Out16 ->VB11 -> ADCH26 -> ADM50*/
41+
TAPLINE17="AM31R,1,0" /* Out17 ->VB6 -> ADCH2 -> ADM31*/
42+
TAPLINE18="AM53L,1,0" /* Out18 ->VB10 -> ADCH16 -> ADM53*/
43+
TAPLINE19="AM25R,1,0" /* Out19 ->VT5 -> ADCH5 -> ADM25*/
44+
TAPLINE20="AM41L,1,0" /* Out20 ->VB9 -> ADCH22 -> ADM41*/
45+
TAPLINE21="AM34R,1,0" /* Out21 ->VT7 -> ADCH9 -> ADM34*/
46+
TAPLINE22="AM39L,1,0" /* Out22 ->VB9 -> ADCH23 -> ADM39*/
47+
TAPLINE23="AM21R,1,0" /* Out23 ->VT13 -> ADCH7 -> ADM21*/
48+
TAPLINE24="AM46L,1,0" /* Out24 ->VB12 -> ADCH28 -> ADM46*/
49+
TAPLINE25="AM54R,1,0" /* Out25 ->VB3 -> ADCH24 -> ADM54*/
50+
TAPLINE26="AM36L,1,0" /* Out26 ->VB7 -> ADCH8 -> ADM36*/
51+
TAPLINE27="AM51R,1,0" /* Out27 ->VT10 -> ADCH17 -> ADM51*/
52+
TAPLINE28="AM52L,1,0" /* Out28 ->VT3 -> ADCH25 -> ADM52*/
53+
TAPLINE29="AM29R,1,0" /* Out29 ->VT6 -> ADCH3 -> ADM29*/
54+
TAPLINE30="AM42L,1,0" /* Out30 ->VB4 -> ADCH30 -> ADM42*/
55+
TAPLINE31="AM24R,1,0" /* Out31 ->VB8 -> ADCH14 -> ADM24*/
56+
TAPLINE32="AM37L,1,0" /* Ref Output */
57+
TAPLINES=33
58+
TRIGOUTFORCE=0
59+
TRIGOUTINVERT=0
60+
TRIGOUTLEVEL=0
61+
TRIGOUTPOWER=1

src/lris2/lris2.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# configuration file for camera-server
2+
#
3+
DAEMON=no # run as a daemon
4+
ARCHON_IP=localhost
5+
ARCHON_PORT=8001
6+
EMULATOR_PORT=8001
7+
EMULATOR_SYSTEM=/home/user/Software/acf/cryoscope/cryoscope.system
8+
DEFAULT_FIRMWARE=/home/user/Software/acf/cryoscope/cryoscope.acf
9+
READOUT_TIME=10000 # detector readout time in msec
10+
EXPOSE_PARAM=Expose # Archon parameter which triggers exposure
11+
IMDIR=/tmp
12+
BASENAME=eraseme
13+
NBPORT=9832 # server non-blocking port
14+
BLKPORT=9830 # server blocking port
15+
LOGPATH=/tmp
16+
ASYNCPORT=1234 # asynchronous message port
17+
ASYNCGROUP=239.1.1.234 # asynchronous broadcast group

src/lris2/lris2.conf

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/** ---------------------------------------------------------------------------
2+
* @file lris2.conf
3+
* @brief WDL configuration file for Cryoscope project
4+
* @author Timothee Greffe
5+
* @date 2020-12-21 (created)
6+
* @modified
7+
*
8+
* This file needs to identify the following four files:
9+
* WAVEFORM_FILE = <filename>
10+
* SYSTEM_FILE = <filename>
11+
* SIGNAL_FILE = <filename>
12+
* SEQUENCE_FILE = <filename>
13+
*
14+
*/
15+
16+
INCLUDE_FILE = "lris2.def" /* #defines and usage are self contained */
17+
CDS_FILE = "lris2.cds" /* uses #defines from .def file */
18+
SIGNAL_FILE = "lris2.signals" /* #defines and usage are self contained */
19+
WAVEFORM_FILE = "lris2.waveform" /* uses #defines from .def and .signals */
20+
SEQUENCE_FILE = "lris2.seq" /* uses #defines from .def and .waveform */
21+
MODULE_FILE = "lris2.mod" /* #defines and usage are self contained */
22+
MODE_FILE = "lris2.modes"

src/lris2/lris2.conf.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"INCLUDE_FILE": "cryoscope.def",
3+
"CDS_FILE": "cryoscope.cds",
4+
"SIGNAL_FILE": "cryoscope.signals",
5+
"WAVEFORM_FILE": "cryoscope.waveform",
6+
"SEQUENCE_FILE": "cryoscope.seq",
7+
"MODULE_FILE": "cryoscope.mod",
8+
"MODE_FILE": "cryoscope.modes"
9+
}

src/lris2/lris2.def

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/** -*- C -*- ---------------------------------------------------------------------------
2+
* use "#define" to define user macros used within the Archon files,
3+
* i.e. within the .script, .states, .cds, or .modules files
4+
* Do not edit or remove the following line.
5+
*/
6+
7+
/** ---------------------------------------------------------------------------
8+
* Set the size of the CMOS array
9+
*/
10+
#define _DARK_ROWS 0
11+
#define _MAX_ROWS 2048 /* Maximum number of rows in H2RG array */
12+
#define _MAX_COLS 1024 /* Maximum number of columns in H2RG array */
13+
#define _MAX_YADDR 1023 /* Maximum Y Address - zero index */
14+
#define _MAX_XADDR 64 /* Maximum X Address - zero index */
15+
16+
#define _TOTAL_ROWS #eval _DARK_ROWS + _MAX_ROWS
17+
18+
#define _NUM_CDS_SAMPLES 20 /* The number of samples taken for CDS conversion */
19+
20+
21+
22+
/** ---------------------------------------------------------------------------
23+
* CDS-Deinterlace engine options
24+
*/
25+
#define _ARCHON_SAMPLE_MODE 0 /* 0=16bit, 1=32bit */
26+
#define _ARCHON_FRAMEMODE 1 /* 0=top, 1=bottom, 2=split */
27+
/* Each tap will only contain ~2MB of data, so normal buffers are fine */
28+
#define _ARCHON_FRAMEBUFS 0 /* 0=3x512MB, 1=2x768MB, I.E. "BIGBUF" */
29+
30+
/* We won't begin with raw stuff, so leave this be for now */
31+
#define _RAW_ENABLE 0 /* 0=no, 1=yes */
32+
#define _RAW_STARTLINE 0 /* first line of raw data, 0-65535 */
33+
#define _RAW_ENDLINE 10 /* last line of raw data, 0-65535 */
34+
#define _RAW_STARTPIXEL 0
35+
#define _RAW_SAMPLES 25600
36+
#define _RAW_SELECT 0 /* AD channel for raw data capture */
37+
38+
#define _FIRST_RESET_SAMPLE 256
39+
#define _LAST_RESET_SAMPLE 692
40+
#define _FIRST_VIDEO_SAMPLE 700
41+
#define _LAST_VIDEO_SAMPLE 700

src/lris2/lris2.mod

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/** -*- C -*- **/
2+
3+
/* Nominal values for the biases */
4+
#define V_BiasGate 2.3
5+
#define V_BiasPower 3.3
6+
#define V_DSub 0.55
7+
#define V_VDD 3.3
8+
#define V_VReset 0.3
9+
#define V_VDDA 3.3
10+
#define V_VRef 2.9
11+
#define V_CLK_EN 3.3
12+
#define V_Preamp_EN 2.0
13+
#define V_VideoPullUp 3.3
14+
#define VSPARE 0.0 /* */
15+
16+
SLOT 10 lvxbias { /* slot 10 with cryoscope*/
17+
LVLC 1 [V_BiasGate,2] "Bias Gate";
18+
LVLC 2 [V_BiasPower,2] "Bias Power";
19+
LVLC 3 [V_DSub,2] "Diode Sub";
20+
LVLC 4 [V_VDD,1] "Digital Supply";
21+
LVLC 5 [V_VReset,2] "Diode Reset";
22+
LVLC 6 [V_VDDA,1] "Analog Supply";
23+
LVLC 7 [V_VRef,1] "Preamp neg ref";
24+
LVLC 8 [V_CLK_EN,2] "clock enable";
25+
LVLC 9 [V_Preamp_EN,2] "Preamp enable";
26+
LVLC 10 [VSPARE,1]; /* Spare */
27+
LVLC 11 [VSPARE,1]; /* Spare */
28+
LVLC 12 [VSPARE,1]; /* Spare */
29+
LVLC 13 [VSPARE,1]; /* Spare */
30+
LVLC 14 [VSPARE,1]; /* Spare */
31+
LVLC 15 [VSPARE,1]; /* Spare */
32+
LVLC 16 [VSPARE,1]; /* Spare */
33+
LVLC 17 [VSPARE,1]; /* Spare */
34+
LVLC 18 [VSPARE,1]; /* Spare */
35+
LVLC 19 [VSPARE,1]; /* Spare */
36+
LVLC 20 [VSPARE,1]; /* Spare */
37+
LVLC 21 [VSPARE,1]; /* Spare */
38+
LVLC 22 [VSPARE,1]; /* Spare */
39+
LVLC 23 [VSPARE,1]; /* Spare */
40+
LVLC 24 [VSPARE,1]; /* Spare */
41+
LVHC 1 [V_VideoPullUp,10,3,1] "PullUp"; /* Spare */
42+
LVHC 2 [VSPARE,50,1,0] "Misc 1"; /* Misc1 */
43+
LVHC 3 [VSPARE,10,1,0] "Misc 2"; /* Spare */
44+
LVHC 4 [VSPARE,100,1,0] "Misc 3"; /* ) */
45+
LVHC 5 [VSPARE,10,1,1] "LED IR"; /* */
46+
LVHC 6 [VSPARE,70,1,1] "Light Bulb"; /* Spare */
47+
}
48+
49+
SLOT 11 lvds {/* slot 11 with Cryoscope*/
50+
DIO 1 [0,0];
51+
DIO 2 [0,0];
52+
DIO 3 [0,0];
53+
DIO 4 [0,0];
54+
DIOPOWER = 0;
55+
}

src/lris2/lris2.modes

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[MODE_DEFAULT]
2+
ARCH:HORI_AMPS=33
3+
ARCH:VERT_AMPS=1
4+
ARCH:NUM_DETECT=1
5+
FITS:READOUTMODE=UpTheRampRollingReset
6+
ACF:PIXELCOUNT=64
7+
ACF:LINECOUNT=2048
8+
ACF:Expose=0
9+
ACF:mode_UTR_RR=1
10+
ACF:mode_EnhancedRollingReset=0
11+
ACF:mode_VideoRX=0
12+
ACF:mode_VideoRXR=0
13+
ACF:mode_Guiding=0
14+
[MODE_UTR_RR]
15+
ARCH:HORI_AMPS=33
16+
FITS:READOUTMODE=UpTheRampRollingReset
17+
ACF:PIXELCOUNT=64
18+
ACF:LINECOUNT=2048
19+
ACF:Expose=0
20+
ACF:mode_UTR_RR=1
21+
ACF:mode_EnhancedRollingReset=0
22+
ACF:mode_VideoRX=0
23+
ACF:mode_VideoRXR=0
24+
ACF:mode_Guiding=0
25+
[MODE_VIDEORX]
26+
ARCH:HORI_AMPS=33
27+
FITS:READOUTMODE=VideoRX
28+
ACF:PIXELCOUNT=64
29+
ACF:LINECOUNT=2048
30+
ACF:Expose=0
31+
ACF:mode_UTR_RR=0
32+
ACF:mode_EnhancedRollingReset=0
33+
ACF:mode_VideoRX=1
34+
ACF:mode_VideoRXR=0
35+
ACF:mode_Guiding=0
36+
[MODE_VIDEORXR]
37+
ARCH:HORI_AMPS=33
38+
FITS:READOUTMODE=VideoRXR
39+
ACF:PIXELCOUNT=128
40+
ACF:LINECOUNT=2048
41+
ACF:Expose=0
42+
ACF:mode_UTR_RR=0
43+
ACF:mode_EnhancedRollingReset=0
44+
ACF:mode_VideoRX=0
45+
ACF:mode_VideoRXR=1
46+
ACF:mode_Guiding=0
47+
[MODE_GUIDING]
48+
ARCH:HORI_AMPS=1
49+
FITS:READOUTMODE=Guiding
50+
ACF:PIXELCOUNT=64
51+
ACF:LINECOUNT=2048
52+
ACF:Expose=0
53+
ACF:mode_UTR_RR=0
54+
ACF:mode_EnhancedRollingReset=0
55+
ACF:mode_VideoRX=0
56+
ACF:mode_VideoRXR=0
57+
ACF:mode_Guiding=1

0 commit comments

Comments
 (0)