mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
adding hostname+ changing that
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@121 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
a7e9cc1091
commit
47f18d3cbf
@ -2772,7 +2772,7 @@ int slsDetector::updateDetectorNoWait() {
|
||||
switch(thisDetector->myDetectorType){
|
||||
case GOTTHARD:
|
||||
n = controlSocket->ReceiveDataOnly(lastClientIP,sizeof(lastClientIP));
|
||||
cout << "Updating detector last modified by " << lastClientIP << endl;
|
||||
//cout << "Updating detector last modified by " << lastClientIP << endl; commented out by dhanya for now
|
||||
break;
|
||||
default:
|
||||
n = controlSocket->ReceiveDataOnly(lastClientIP,sizeof(lastClientIP));
|
||||
|
@ -1318,6 +1318,15 @@ typedef struct sharedSlsDetector {
|
||||
*/
|
||||
int* getDataFromDetector();
|
||||
|
||||
/**
|
||||
Loads dark image or gain image to the detector
|
||||
\param index is 0 for dark image and 1 for gain image
|
||||
\fname file name to load data from
|
||||
|
||||
*/
|
||||
int loadImageToDetector(int index,string const fname);
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -1085,7 +1085,8 @@ string slsDetectorCommand::cmdHostname(int narg, char *args[], int action){
|
||||
strcpy(hostname,"");
|
||||
for (int id=1; id<narg; id++) {
|
||||
strcat(hostname,args[id]);
|
||||
strcat(hostname,"+");
|
||||
if(narg>2)
|
||||
strcat(hostname,"+");
|
||||
}
|
||||
} else
|
||||
strcpy(hostname,args[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user