mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
Merge branch 'master' into parallel
This commit is contained in:
commit
be93613ac8
@ -32,6 +32,7 @@ typedef char mystring[MAX_STR_LENGTH];
|
||||
typedef double mysteps[MAX_SCAN_STEPS];
|
||||
|
||||
|
||||
|
||||
#ifndef DACS_FLOAT
|
||||
typedef int dacs_t;
|
||||
#else
|
||||
@ -370,7 +371,7 @@ enum detectorSettings{
|
||||
FIXGAIN2, /**< fix gain 2 */
|
||||
FORCESWITCHG1, /**< force switch gain 1 */
|
||||
FORCESWITCHG2, /**< force switch gain 2 */
|
||||
UNDEFINED, /**< undefined or custom settings */
|
||||
UNDEFINED=200, /**< undefined or custom settings */
|
||||
UNINITIALIZED /**< uninitialiazed (status at startup) */
|
||||
};
|
||||
/**
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
slsDetectorSoftware/jungfrauDetectorServer/jungfrauDetectorServerv2.0.3
Executable file
BIN
slsDetectorSoftware/jungfrauDetectorServer/jungfrauDetectorServerv2.0.3
Executable file
Binary file not shown.
@ -1125,7 +1125,7 @@ int set_dac(int file_des) {
|
||||
retval1=retval;
|
||||
} else
|
||||
retval1=retval;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef VERBOSE
|
||||
|
1
slsDetectorSoftware/moenchDetectorServer/ansi.h
Symbolic link
1
slsDetectorSoftware/moenchDetectorServer/ansi.h
Symbolic link
@ -0,0 +1 @@
|
||||
../../slsReceiverSoftware/include/ansi.h
|
BIN
slsDetectorSoftware/moenchDetectorServer/moenchDetectorServerv2.0.3
Executable file
BIN
slsDetectorSoftware/moenchDetectorServer/moenchDetectorServerv2.0.3
Executable file
Binary file not shown.
1
slsDetectorSoftware/mythenDetectorServer/ansi.h
Symbolic link
1
slsDetectorSoftware/mythenDetectorServer/ansi.h
Symbolic link
@ -0,0 +1 @@
|
||||
../../slsReceiverSoftware/include/ansi.h
|
Binary file not shown.
BIN
slsDetectorSoftware/mythenDetectorServer/mythenDetectorServerv2.0.3
Executable file
BIN
slsDetectorSoftware/mythenDetectorServer/mythenDetectorServerv2.0.3
Executable file
Binary file not shown.
@ -3132,6 +3132,7 @@ slsDetectorDefs::detectorSettings slsDetector::setSettings( detectorSettings ise
|
||||
if(thisDetector->myDetectorType == EIGER)
|
||||
iodelay = new int;
|
||||
|
||||
|
||||
int ret=0;
|
||||
|
||||
|
||||
|
@ -353,7 +353,7 @@ slsDetectorDefs::sls_detector_module* energyConversion::readSettingsFile(string
|
||||
infile.open(myfname.c_str(),ifstream::binary);
|
||||
if (infile.is_open()) {
|
||||
infile.read((char*) myMod->dacs,sizeof(dacs_t)*(myMod->ndac));
|
||||
infile.read((char*) iodelay,sizeof(iodelay));
|
||||
infile.read((char*) iodelay,sizeof(*iodelay));
|
||||
infile.read((char*) myMod->chanregs,sizeof(int)*(myMod->nchan));
|
||||
#ifdef VERBOSE
|
||||
for(int i=0;i<myMod->ndac;i++)
|
||||
@ -517,7 +517,7 @@ int energyConversion::writeSettingsFile(string fname, detectorType myDetectorTyp
|
||||
std::cout << "iodelay: " << *iodelay << std::endl;
|
||||
#endif
|
||||
outfile.write((char*)mod.dacs, sizeof(dacs_t)*(mod.ndac));
|
||||
outfile.write((char*)iodelay, sizeof(iodelay));
|
||||
outfile.write((char*)iodelay, sizeof(*iodelay));
|
||||
outfile.write((char*)mod.chanregs, sizeof(int)*(mod.nchan));
|
||||
|
||||
outfile.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user