mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
commit
e01e41926c
Binary file not shown.
@ -1035,8 +1035,10 @@ void setDAC(enum DACINDEX ind, int val, int mV) {
|
||||
if (val < 0)
|
||||
return;
|
||||
|
||||
LOG(logDEBUG1, ("Setting dac[%d]: %d %s \n", (int)ind, val,
|
||||
(mV ? "mV" : "dac units")));
|
||||
char *dac_names[] = {DAC_NAMES};
|
||||
LOG(logINFO, ("Setting DAC %s\n", dac_names[ind]));
|
||||
LOG(logDEBUG1, ("Setting dac[%d - %s]: %d %s \n", (int)ind, dac_names[ind],
|
||||
val, (mV ? "mV" : "dac units")));
|
||||
int dacval = val;
|
||||
#ifdef VIRTUAL
|
||||
if (!mV) {
|
||||
|
@ -17,6 +17,10 @@ enum DACINDEX {
|
||||
enum CLKINDEX { ADC_CLK, NUM_CLOCKS };
|
||||
#define CLK_NAMES "adc"
|
||||
|
||||
#define DAC_NAMES \
|
||||
"vref_ds", "vcascn_pb", "vcascp_pb", "vout_cm", "vcasc_out", "vin_cm", \
|
||||
"vref_comp", "ib_testc"
|
||||
|
||||
#define DEFAULT_DAC_VALS \
|
||||
{ \
|
||||
660, /* G_VREF_DS */ \
|
||||
|
Binary file not shown.
@ -843,8 +843,10 @@ void setDAC(enum DACINDEX ind, int val, int mV) {
|
||||
if (val < 0)
|
||||
return;
|
||||
|
||||
LOG(logDEBUG1, ("Setting dac[%d]: %d %s \n", (int)ind, val,
|
||||
(mV ? "mV" : "dac units")));
|
||||
char *dac_names[] = {DAC_NAMES};
|
||||
LOG(logINFO, ("Setting DAC %s\n", dac_names[ind]));
|
||||
LOG(logDEBUG1, ("Setting dac[%d - %s]: %d %s \n", (int)ind, dac_names[ind],
|
||||
val, (mV ? "mV" : "dac units")));
|
||||
int dacval = val;
|
||||
#ifdef VIRTUAL
|
||||
if (!mV) {
|
||||
|
@ -47,6 +47,10 @@ enum DACINDEX {
|
||||
J_VREF_DS,
|
||||
J_VREF_COMP
|
||||
};
|
||||
#define DAC_NAMES \
|
||||
"vb_comp", "vdd_prot", "vin_com", "vref_prech", "vb_pixbuf", "vb_ds", \
|
||||
"vref_ds", "vref_comp"
|
||||
|
||||
#define DEFAULT_DAC_VALS \
|
||||
{ \
|
||||
1220, /* J_VB_COMP */ \
|
||||
|
@ -5,9 +5,9 @@
|
||||
#define APIGUI 0x200804
|
||||
|
||||
#define APICTB 0x200910
|
||||
#define APIGOTTHARD 0x200910
|
||||
#define APIJUNGFRAU 0x200910
|
||||
#define APIMOENCH 0x200910
|
||||
#define APIEIGER 0x200910
|
||||
#define APIGOTTHARD2 0x200910
|
||||
#define APIMYTHEN3 0x200910
|
||||
#define APIGOTTHARD 0x200917
|
||||
#define APIJUNGFRAU 0x200917
|
||||
|
Loading…
x
Reference in New Issue
Block a user