added enablegappixels to users class

This commit is contained in:
2018-03-28 10:41:52 +02:00
parent 252e924f92
commit 9e8d3e598f
2 changed files with 11 additions and 2 deletions

View File

@@ -275,8 +275,9 @@ int64_t slsDetectorUsers::getThisSoftwareVersion(){
return myDetector->getThisSoftwareVersion(); return myDetector->getThisSoftwareVersion();
} }
int slsDetectorUsers::enableGapPixels(int enable) {
return myDetector->enableGapPixels(enable);
}
void slsDetectorUsers::registerDataCallback(int( *userCallback)(detectorData*, int, int, void*), void *pArg){ void slsDetectorUsers::registerDataCallback(int( *userCallback)(detectorData*, int, int, void*), void *pArg){
myDetector->registerDataCallback(userCallback,pArg); myDetector->registerDataCallback(userCallback,pArg);

View File

@@ -528,6 +528,14 @@ class slsDetectorUsers
*/ */
int64_t getThisSoftwareVersion(); int64_t getThisSoftwareVersion();
/**
* Enable gap pixels, only for Eiger and for 8,16 and 32 bit mode.
* 4 bit mode gap pixels only in gui call back (registerDataCallback)
* @param enable 1 sets, 0 unsets, -1 gets
* @return gap pixel enable or -1 for error
*/
int enableGapPixels(int enable=-1);
/** /**
@short register calbback for accessing detector final data @short register calbback for accessing detector final data
\param func function to be called at the end of the acquisition. gets detector status and progress index as arguments \param func function to be called at the end of the acquisition. gets detector status and progress index as arguments