changed all the dacs and adc types from double to dacs_int to an ifdef defined in sls det defs

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@223 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-08-15 17:12:20 +00:00
parent 5407fdcf6e
commit 3e8f1e22e9
9 changed files with 56 additions and 39 deletions

View File

@ -727,7 +727,7 @@ typedef struct sharedSlsDetector {
\param imod module number (if -1 alla modules)
\returns current DAC value
*/
double setDAC(double val, dacIndex index, int imod=-1);
dacs_t setDAC(dacs_t val, dacIndex index, int imod=-1);
/**
set dacs value
@ -735,7 +735,7 @@ typedef struct sharedSlsDetector {
\param imod module number
\returns current ADC value
*/
double getADC(dacIndex index, int imod=0);
dacs_t getADC(dacIndex index, int imod=0);
/**
configure channel
@ -1374,9 +1374,9 @@ typedef struct sharedSlsDetector {
/** pointer to detector module structures */
sls_detector_module *detectorModules;
/** pointer to dac valuse */
double *dacs;
dacs_t *dacs;
/** pointer to adc valuse */
double *adcs;
dacs_t *adcs;
/** pointer to chip registers */
int *chipregs;
/** pointer to channal registers */