gotthard dacs only save 10 bits but firmware is more than 14-16 bits..so changed setdacreg to save only msb and accordingly ignore a difference of 3 while setting. Problem not detected earlier, communicationfuncs.c.Solution: commented out a part from receiveModule

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@215 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-08-08 16:18:46 +00:00
parent d934111c2a
commit f686a575b6
5 changed files with 13 additions and 8 deletions

View File

@ -816,6 +816,7 @@ int initDACs(int* v,int imod)
#endif
int iaddr;
// sDac=0;
for (iaddr=0; iaddr<8; iaddr++) {
clearDACSregister(imod);
if (v[iaddr]>=0) {