Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
693 changes: 693 additions & 0 deletions acf/lris2.acf

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/lris2/.modules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[CONFIG]
5 changes: 5 additions & 0 deletions src/lris2/.system
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[SYSTEM]
BACKPLANE_ID=0000000000000000
BACKPLANE_REV=0
BACKPLANE_TYPE=1
BACKPLANE_VERSION=0.0.0
61 changes: 61 additions & 0 deletions src/lris2/lris2.cds
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/* -*- C -*- */
/** ---------------------------------------------------------------------------
* @file cryoscope.cds
* @brief CDS/Deinterlace parameters for cryoscope instrument
*/

#include "mod10vcpu" /* include the VCPU code for MOD10 */

BIGBUF=0 /* _ARCHON_FRAMEBUFS */
FRAMEMODE=1 /* _ARCHON_FRAMEMODE */
LINECOUNT=2048 /* _DARK_ROWS(0) + _MAX_ROWS(2048) */
PIXELCOUNT=64 /* _MAX_XADDR */
RAWENABLE=0 /* _RAW_ENABLE */
RAWENDLINE=10 /* _RAW_ENDLINE */
RAWSAMPLES=25600 /* _RAW_SAMPLES */
RAWSEL=0 /* _RAW_SELECT */
RAWSTARTLINE=0 /* _RAW_STARTLINE */
RAWSTARTPIXEL=0 /* _RAW_STARTPIXEL */
SAMPLEMODE=0 /* _ARCHON_SAMPLE_MODE */
SHP1=256 /* _FIRST_RESET_SAMPLE */
SHP2=692 /* _LAST_RESET_SAMPLE */
SHD1=700 /* _FIRST_VIDEO_SAMPLE */
SHD2=700 /* _LAST_VIDEO_SAMPLE */
TAPLINE0="AM26L,1,0" /* Out0 ->VT16 -> ADCH13 -> ADM26*/ /* H2RG -> Preamp -> SAMTEC -> Archon*/
TAPLINE1="AM45R,1,0" /* Out1 ->VB1 -> ADCH20 -> ADM45*/
TAPLINE2="AM28L,1,0" /* Out2 ->VB16 -> ADCH12 -> ADM28*/
TAPLINE3="AM49R,1,0" /* Out3 ->VB2 -> ADCH18 -> ADM49*/
TAPLINE4="AM43L,1,0" /* Out4 ->VT1 -> ADCH21 -> ADM43*/
TAPLINE5="AM47R,1,0" /* Out5 ->VT2 -> ADCH19 -> ADM47*/
TAPLINE6="AM30L,1,0" /* Out6 ->VT15 -> ADCH11 -> ADM30*/
TAPLINE7="AM33R,1,0" /* Out7 ->VT14 -> ADCH1 -> ADM33*/
TAPLINE8="AM32L,1,0" /* Out8 ->VB15 -> ADCH10 -> ADM32*/
TAPLINE9="AM48R,1,0" /* Out9 ->VT11 -> ADCH27 -> ADM48*/
TAPLINE10="AM23L,1,0" /* Out10 ->VB13 -> ADCH6 -> ADM23*/
TAPLINE11="AM40R,1,0" /* Out11 ->VT4 -> ADCH31 -> ADM40*/
TAPLINE12="AM35L,1,0" /* Out12 ->VB14 -> ADCH0 -> ADM35*/
TAPLINE13="AM27R,1,0" /* Out13 ->VB5 -> ADCH4 -> ADM27*/
TAPLINE14="AM44L,1,0" /* Out14 ->VT12 -> ADCH29 -> ADM44*/
TAPLINE15="AM22R,1,0" /* Out15 ->VT8 -> ADCH15 -> ADM22*/
TAPLINE16="AM50L,1,0" /* Out16 ->VB11 -> ADCH26 -> ADM50*/
TAPLINE17="AM31R,1,0" /* Out17 ->VB6 -> ADCH2 -> ADM31*/
TAPLINE18="AM53L,1,0" /* Out18 ->VB10 -> ADCH16 -> ADM53*/
TAPLINE19="AM25R,1,0" /* Out19 ->VT5 -> ADCH5 -> ADM25*/
TAPLINE20="AM41L,1,0" /* Out20 ->VB9 -> ADCH22 -> ADM41*/
TAPLINE21="AM34R,1,0" /* Out21 ->VT7 -> ADCH9 -> ADM34*/
TAPLINE22="AM39L,1,0" /* Out22 ->VB9 -> ADCH23 -> ADM39*/
TAPLINE23="AM21R,1,0" /* Out23 ->VT13 -> ADCH7 -> ADM21*/
TAPLINE24="AM46L,1,0" /* Out24 ->VB12 -> ADCH28 -> ADM46*/
TAPLINE25="AM54R,1,0" /* Out25 ->VB3 -> ADCH24 -> ADM54*/
TAPLINE26="AM36L,1,0" /* Out26 ->VB7 -> ADCH8 -> ADM36*/
TAPLINE27="AM51R,1,0" /* Out27 ->VT10 -> ADCH17 -> ADM51*/
TAPLINE28="AM52L,1,0" /* Out28 ->VT3 -> ADCH25 -> ADM52*/
TAPLINE29="AM29R,1,0" /* Out29 ->VT6 -> ADCH3 -> ADM29*/
TAPLINE30="AM42L,1,0" /* Out30 ->VB4 -> ADCH30 -> ADM42*/
TAPLINE31="AM24R,1,0" /* Out31 ->VB8 -> ADCH14 -> ADM24*/
TAPLINE32="AM37L,1,0" /* Ref Output */
TAPLINES=33
TRIGOUTFORCE=0
TRIGOUTINVERT=0
TRIGOUTLEVEL=0
TRIGOUTPOWER=1
17 changes: 17 additions & 0 deletions src/lris2/lris2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# configuration file for camera-server
#
DAEMON=no # run as a daemon
ARCHON_IP=localhost
ARCHON_PORT=8001
EMULATOR_PORT=8001
EMULATOR_SYSTEM=/home/user/Software/acf/cryoscope/cryoscope.system
DEFAULT_FIRMWARE=/home/user/Software/acf/cryoscope/cryoscope.acf
READOUT_TIME=10000 # detector readout time in msec
EXPOSE_PARAM=Expose # Archon parameter which triggers exposure
IMDIR=/tmp
BASENAME=eraseme
NBPORT=9832 # server non-blocking port
BLKPORT=9830 # server blocking port
LOGPATH=/tmp
ASYNCPORT=1234 # asynchronous message port
ASYNCGROUP=239.1.1.234 # asynchronous broadcast group
22 changes: 22 additions & 0 deletions src/lris2/lris2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/** ---------------------------------------------------------------------------
* @file lris2.conf
* @brief WDL configuration file for Cryoscope project
* @author Timothee Greffe
* @date 2020-12-21 (created)
* @modified
*
* This file needs to identify the following four files:
* WAVEFORM_FILE = <filename>
* SYSTEM_FILE = <filename>
* SIGNAL_FILE = <filename>
* SEQUENCE_FILE = <filename>
*
*/

INCLUDE_FILE = "lris2.def" /* #defines and usage are self contained */
CDS_FILE = "lris2.cds" /* uses #defines from .def file */
SIGNAL_FILE = "lris2.signals" /* #defines and usage are self contained */
WAVEFORM_FILE = "lris2.waveform" /* uses #defines from .def and .signals */
SEQUENCE_FILE = "lris2.seq" /* uses #defines from .def and .waveform */
MODULE_FILE = "lris2.mod" /* #defines and usage are self contained */
MODE_FILE = "lris2.modes"
9 changes: 9 additions & 0 deletions src/lris2/lris2.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"INCLUDE_FILE": "cryoscope.def",
"CDS_FILE": "cryoscope.cds",
"SIGNAL_FILE": "cryoscope.signals",
"WAVEFORM_FILE": "cryoscope.waveform",
"SEQUENCE_FILE": "cryoscope.seq",
"MODULE_FILE": "cryoscope.mod",
"MODE_FILE": "cryoscope.modes"
}
41 changes: 41 additions & 0 deletions src/lris2/lris2.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/** -*- C -*- ---------------------------------------------------------------------------
* use "#define" to define user macros used within the Archon files,
* i.e. within the .script, .states, .cds, or .modules files
* Do not edit or remove the following line.
*/

/** ---------------------------------------------------------------------------
* Set the size of the CMOS array
*/
#define _DARK_ROWS 0
#define _MAX_ROWS 2048 /* Maximum number of rows in H2RG array */
#define _MAX_COLS 1024 /* Maximum number of columns in H2RG array */
#define _MAX_YADDR 1023 /* Maximum Y Address - zero index */
#define _MAX_XADDR 64 /* Maximum X Address - zero index */

#define _TOTAL_ROWS #eval _DARK_ROWS + _MAX_ROWS

#define _NUM_CDS_SAMPLES 20 /* The number of samples taken for CDS conversion */



/** ---------------------------------------------------------------------------
* CDS-Deinterlace engine options
*/
#define _ARCHON_SAMPLE_MODE 0 /* 0=16bit, 1=32bit */
#define _ARCHON_FRAMEMODE 1 /* 0=top, 1=bottom, 2=split */
/* Each tap will only contain ~2MB of data, so normal buffers are fine */
#define _ARCHON_FRAMEBUFS 0 /* 0=3x512MB, 1=2x768MB, I.E. "BIGBUF" */

/* We won't begin with raw stuff, so leave this be for now */
#define _RAW_ENABLE 0 /* 0=no, 1=yes */
#define _RAW_STARTLINE 0 /* first line of raw data, 0-65535 */
#define _RAW_ENDLINE 10 /* last line of raw data, 0-65535 */
#define _RAW_STARTPIXEL 0
#define _RAW_SAMPLES 25600
#define _RAW_SELECT 0 /* AD channel for raw data capture */

#define _FIRST_RESET_SAMPLE 256
#define _LAST_RESET_SAMPLE 692
#define _FIRST_VIDEO_SAMPLE 700
#define _LAST_VIDEO_SAMPLE 700
55 changes: 55 additions & 0 deletions src/lris2/lris2.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/** -*- C -*- **/

/* Nominal values for the biases */
#define V_BiasGate 2.3
#define V_BiasPower 3.3
#define V_DSub 0.55
#define V_VDD 3.3
#define V_VReset 0.3
#define V_VDDA 3.3
#define V_VRef 2.9
#define V_CLK_EN 3.3
#define V_Preamp_EN 2.0
#define V_VideoPullUp 3.3
#define VSPARE 0.0 /* */

SLOT 10 lvxbias { /* slot 10 with cryoscope*/
LVLC 1 [V_BiasGate,2] "Bias Gate";
LVLC 2 [V_BiasPower,2] "Bias Power";
LVLC 3 [V_DSub,2] "Diode Sub";
LVLC 4 [V_VDD,1] "Digital Supply";
LVLC 5 [V_VReset,2] "Diode Reset";
LVLC 6 [V_VDDA,1] "Analog Supply";
LVLC 7 [V_VRef,1] "Preamp neg ref";
LVLC 8 [V_CLK_EN,2] "clock enable";
LVLC 9 [V_Preamp_EN,2] "Preamp enable";
LVLC 10 [VSPARE,1]; /* Spare */
LVLC 11 [VSPARE,1]; /* Spare */
LVLC 12 [VSPARE,1]; /* Spare */
LVLC 13 [VSPARE,1]; /* Spare */
LVLC 14 [VSPARE,1]; /* Spare */
LVLC 15 [VSPARE,1]; /* Spare */
LVLC 16 [VSPARE,1]; /* Spare */
LVLC 17 [VSPARE,1]; /* Spare */
LVLC 18 [VSPARE,1]; /* Spare */
LVLC 19 [VSPARE,1]; /* Spare */
LVLC 20 [VSPARE,1]; /* Spare */
LVLC 21 [VSPARE,1]; /* Spare */
LVLC 22 [VSPARE,1]; /* Spare */
LVLC 23 [VSPARE,1]; /* Spare */
LVLC 24 [VSPARE,1]; /* Spare */
LVHC 1 [V_VideoPullUp,10,3,1] "PullUp"; /* Spare */
LVHC 2 [VSPARE,50,1,0] "Misc 1"; /* Misc1 */
LVHC 3 [VSPARE,10,1,0] "Misc 2"; /* Spare */
LVHC 4 [VSPARE,100,1,0] "Misc 3"; /* ) */
LVHC 5 [VSPARE,10,1,1] "LED IR"; /* */
LVHC 6 [VSPARE,70,1,1] "Light Bulb"; /* Spare */
}

SLOT 11 lvds {/* slot 11 with Cryoscope*/
DIO 1 [0,0];
DIO 2 [0,0];
DIO 3 [0,0];
DIO 4 [0,0];
DIOPOWER = 0;
}
57 changes: 57 additions & 0 deletions src/lris2/lris2.modes
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[MODE_DEFAULT]
ARCH:HORI_AMPS=33
ARCH:VERT_AMPS=1
ARCH:NUM_DETECT=1
FITS:READOUTMODE=UpTheRampRollingReset
ACF:PIXELCOUNT=64
ACF:LINECOUNT=2048
ACF:Expose=0
ACF:mode_UTR_RR=1
ACF:mode_EnhancedRollingReset=0
ACF:mode_VideoRX=0
ACF:mode_VideoRXR=0
ACF:mode_Guiding=0
[MODE_UTR_RR]
ARCH:HORI_AMPS=33
FITS:READOUTMODE=UpTheRampRollingReset
ACF:PIXELCOUNT=64
ACF:LINECOUNT=2048
ACF:Expose=0
ACF:mode_UTR_RR=1
ACF:mode_EnhancedRollingReset=0
ACF:mode_VideoRX=0
ACF:mode_VideoRXR=0
ACF:mode_Guiding=0
[MODE_VIDEORX]
ARCH:HORI_AMPS=33
FITS:READOUTMODE=VideoRX
ACF:PIXELCOUNT=64
ACF:LINECOUNT=2048
ACF:Expose=0
ACF:mode_UTR_RR=0
ACF:mode_EnhancedRollingReset=0
ACF:mode_VideoRX=1
ACF:mode_VideoRXR=0
ACF:mode_Guiding=0
[MODE_VIDEORXR]
ARCH:HORI_AMPS=33
FITS:READOUTMODE=VideoRXR
ACF:PIXELCOUNT=128
ACF:LINECOUNT=2048
ACF:Expose=0
ACF:mode_UTR_RR=0
ACF:mode_EnhancedRollingReset=0
ACF:mode_VideoRX=0
ACF:mode_VideoRXR=1
ACF:mode_Guiding=0
[MODE_GUIDING]
ARCH:HORI_AMPS=1
FITS:READOUTMODE=Guiding
ACF:PIXELCOUNT=64
ACF:LINECOUNT=2048
ACF:Expose=0
ACF:mode_UTR_RR=0
ACF:mode_EnhancedRollingReset=0
ACF:mode_VideoRX=0
ACF:mode_VideoRXR=0
ACF:mode_Guiding=1
Loading
Loading