Commands to setup the settings of the detector
Settings, trim & cal Directories
commands to setup settings/trim/cal directories
- settingsdir [dir] Sets/gets the directory where the settings files are located.
Returns
(string) dir
- trimdir [dir] obsolete
settingsdir
. Returns
(string) dir
- caldir [dir] Sets/gets the directory where the calibration files are located.
Returns
(string) dir
- trimen [n e0 e1...e(n-1)] Sets/gets the number of energies n at which the detector has default trim file and their values in eV (int).
Returns
(int int...) n e0 e1...e(n-1)
Settings and Threshold
commands to configure settings and threshold of detector
- settings [s] sets/gets the settings of the detector. Options:
standard
, fast
, highgain
, dynamicgain
, lowgain
, mediumgain
, veryhighgain
, lownoise
, dynamichg0
, fixgain1
, fixgain2
, forceswitchg1
, forceswitchg2
.
In Eiger, only sets in client shared memory. Use threshold
or thresholdnotb
to pass to detector. Gets from detector. Returns
(string) s
- threshold [eV] [sett] sets/gets the detector threshold in eV. sett is optional and if provided also sets the settings. Use this for Eiger instead of
settings
. Returns
(int)
- thresholdnotb [eV] [sett] sets/gets the detector threshold in eV without loading trimbits. sett is optional and if provided also sets the settings. Use this for Eiger instead of
settings
. Returns
(int)
- trimbits [fname] loads/stores the trimbits to/from the detector. If no extension is specified, the serial number of each module will be attached.
Returns
(string) fname
- trim:[mode] [fname] trims the detector according to mode and saves resulting trimbits to file. Mode: noise, beam, improve, fix. Used in MYTHEN only. Only put!
Returns
("done")
- trimval [i] sets all trimbits to i. Used in EIGER only.
Returns
(int)
- pedestal [i] starts acquisition for i frames, calculates pedestal and writes back to fpga. Used in GOTTHARD only. Only put!
Returns
(int)
DACs
commands to configure DACs of detector
- vthreshold [i] [mv] Sets/gets detector threshold voltage for single photon counters. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcalibration [i] [mv] Sets/gets the voltage of the calibration pulses. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vtrimbit [i] [mv] Sets/gets the voltage to set the width of the trimbits. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vpreamp [i] [mv] Sets/gets the voltage to define the preamplifier feedback resistance. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vhaper1 [i] [mv] Sets/gets the voltage to define the feedback resistance of the first shaper. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vshaper2 [i] [mv] Sets/gets the voltage to define the feedback resistance of the second shaper. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vhighvoltage [i] Sets/gets the high voltage to the sensor in V.
Returns
(int ["mV"]).
- vapower [i] Sets/gets the analog power supply for the old chiptest board in DAC units.
Returns
(int ["mV"])
- vddpower [i] Sets/gets the digital power supply for the old chiptest board in DAC units.
Returns
(int ["mV"])
- vshpower [i] Sets/gets the comparator power supply for the old chiptest board in DAC units.
Returns
(int ["mV"])
- viopower [i] Sets/gets the power supply of the FPGA I/Os for the old chiptest board in DAC units.
Returns
(int ["mV"])
- vrefds [i] [mv] Sets/gets vrefds. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcascn_pb [i] [mv] Sets/gets vcascn_pb. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcasc_pb [i] [mv] Sets/gets vcasc_pb. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vout_cm [i] [mv] Sets/gets vout_cm. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcasc_out [i] [mv] Sets/gets vcasc_out. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vin_com [i] [mv] Sets/gets vin_com. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vref_comp [i] [mv] Sets/gets vref_comp. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- ib_test_c [i] [mv] Sets/gets ib_test_c. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- dac[0..7] [i] [mv] Sets/gets dac[0..7] for MOENCH02. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vsvp [i] [mv] Sets/gets vsvp. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vsvn [i] [mv] Sets/gets vsvn. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vtr [i] [mv] Sets/gets vtr. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vrf [i] [mv] Sets/gets vrf. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vrs [i] [mv] Sets/gets vrs. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vtgstv [i] [mv] Sets/gets vtgstv. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcmp_ll [i] [mv] Sets/gets vcmp_ll. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcmp_lr [i] [mv] Sets/gets vcmp_lr. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcal_l [i] [mv] Sets/gets vcal_l. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcomp_rl [i] [mv] Sets/gets vcomp_rl. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcomp_rr [i] [mv] Sets/gets vcomp_rr. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- rxb_rb [i] [mv] Sets/gets rxb_rb. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- rxb_lb [i] [mv] Sets/gets rxb_lb. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcp [i] [mv] Sets/gets vcp. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vcn [i] [mv] Sets/gets vcn. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- vis [i] [mv] Sets/gets vis. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- iodelay [i] [mv] Sets/gets iodelay. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- dac:j [i] [mv] Sets/gets value for DAC number j for the new chiptestboard. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- adcvpp [i] Sets/gets the Vpp of the ADC 0 -> 1V ; 1 -> 1.14V ; 2 -> 1.33V ; 3 -> 1.6V ; 4 -> 2V .
Returns
(int ["mV"])
- v_a [i] mv Sets/gets value for Va on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- v_b [i] mv Sets/gets value for Vb on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- v_c [i] mv Sets/gets value for Vc on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- v_d [i] mv Sets/gets value for Vd on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- v_io [i] mv Sets/gets value for Vio on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- v_chip [i] mv Sets/gets value for Vchip on the new chiptest board. Must be in mV.
Returns
(int ["mV"]). Normally don't use it!
- v_limit [i] mv Sets/gets a soft limit for the power supplies and the DACs on the new chiptest board. Must be in mV.
Returns
(int ["mV"])
- Vth1 Sets/gets first detector threshold voltage for Mythen 3.01. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- Vth1 Sets/gets second detector threshold voltage for Mythen 3.01. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
- Vth1 Sets/gets third detector threshold voltage for Mythen 3.01. Normally in DAC units unless
mv
is specified at the end of the command line. Returns
(int ["mV"])
ADCs
commands to readout ADCs of detector
- temp_adc Gets the ADC temperature.
Returns
EIGER
,JUNGFRAU(double"°C") Others
(int"°C")
- temp_fpga Gets the FPGA temperature.
Returns
EIGER
,JUNGFRAU(double"°C") Others
(int"°C")
- temp_fpgaext Gets the external FPGA temperature. Used in EIGER only.
Returns
EIGER
(double"°C")
- temp_10ge Gets the 10Gbe temperature. Used in EIGER only.
Returns
EIGER
(double"°C")
- temp_dcdc Gets the temperature of the DC/DC converter. Used in EIGER only.
Returns
EIGER
(double"°C")
- temp_sodl Gets the temperature of the left so-dimm memory . Used in EIGER only.
Returns
EIGER
(double"°C")
- temp_sodr Gets the temperature of the right so-dimm memory. Used in EIGER only.
Returns
EIGER
(double"°C")
- adc:j Gets the values of the slow ADC number j for the new chiptest board.
Returns
(int"°C")
- temp_fpgal Gets the temperature of the left frontend FPGA. Used in EIGER only.
Returns
EIGER
(double"°C")
- temp_fpgar Gets the temperature of the right frontend FPGA. Used in EIGER only.
Returns
EIGER
(double"°C")
- i_a Gets the current of the power supply a on the new chiptest board.
Returns
(int"mV")
- i_b Gets the current of the power supply b on the new chiptest board
Returns
(int"mV")
- i_c Gets the current of the power supply c on the new chiptest board
Returns
(int"mV")
- i_d Gets the current of the power supply d on the new chiptest board
Returns
(int"mV")
- i_io Gets the current of the power supply io on the new chiptest board
Returns
(int"mV")
- vm_a Gets the measured voltage of the power supply a on the new chiptest board
Returns
(int"mV")
- vm_b Gets the measured voltage of the power supply b on the new chiptest board
Returns
(int"mV")
- vm_c Gets the measured voltage of the power supply c on the new chiptest board
Returns
(int"mV")
- vm_d Gets the measured voltage of the power supply d on the new chiptest board
Returns
(int"mV")
- vm_io Gets the measured voltage of the power supply io on the new chiptest board
Returns
(int"mV")
Temp Control
commands to monitor and handle temperature overshoot (only JUNGFRAU)
- temp_threshold Sets/gets the threshold temperature. JUNGFRAU ONLY.
Returns
(double"°C")
- temp_control Enables/Disables the temperature control. 1 enables, 0 disables. JUNGFRAU ONLY.
Returns
int
- temp_event Resets/gets over-temperative event. Put only with option 0 to clear event. Gets 1 if temperature went over threshold and control is enabled, else 0. /Disables the temperature control. JUNGFRAU ONLY.
Returns
int