mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 02:40:04 +02:00
fixed set dac problem for eiger
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@816 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
73261a3071
commit
58d3de174f
@ -23,7 +23,7 @@ const char* dac_names[16] = {"SvP","Vtr","Vrf","Vrs","SvN","Vtgstv","Vcmp_ll","V
|
||||
|
||||
|
||||
|
||||
/** Ian, the setdac and getdac should take float if it takes only V and not mV*/
|
||||
|
||||
int eiger_nexposures = 1;
|
||||
int EigerGetNumberOfExposures(){return eiger_nexposures;}
|
||||
float eiger_exposuretime = 1;
|
||||
|
Binary file not shown.
@ -153,9 +153,9 @@ int setDAC(enum detDacIndex ind, int val, int imod){
|
||||
printf("Getting dac %d: %s\n",ind, iname);
|
||||
//#endif
|
||||
if(val >= 0)
|
||||
EigerSetDAC(iname,val/1000);
|
||||
EigerSetDAC(iname,val);
|
||||
|
||||
return (EigerGetDAC(iname)*1000);
|
||||
return EigerGetDAC(iname);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user