mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 01:50:40 +02:00
wip
This commit is contained in:
parent
0437bd0584
commit
261ac78743
@ -1519,6 +1519,7 @@ int setMaster(enum MASTERINDEX m) {
|
||||
// feb variable and hv comms (9m)
|
||||
sharedMemory_lockLocalLink();
|
||||
if (Feb_Control_SetMasterEffects(master, isControlServer) == FAIL) {
|
||||
sharedMemory_unlockLocalLink();
|
||||
return FAIL;
|
||||
}
|
||||
sharedMemory_unlockLocalLink();
|
||||
@ -1541,7 +1542,7 @@ int isMaster(int *retval) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
int setTop(int t) {
|
||||
int setTop(enum TOPINDEX t) {
|
||||
char *top_names[] = {TOP_NAMES};
|
||||
LOG(logINFOBLUE, ("Setting up as %s\n", top_names[t]));
|
||||
#ifdef VIRTUAL
|
||||
|
@ -388,6 +388,7 @@ void initStopServer() {
|
||||
}
|
||||
#ifdef VIRTUAL
|
||||
sharedMemory_setStop(0);
|
||||
// not reading config file (nothing of interest to stop server)
|
||||
if (checkCommandLineConfiguration() == FAIL) {
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
|
@ -375,7 +375,7 @@ int setHighVoltage(int val);
|
||||
// parameters - timing, extsig
|
||||
#ifdef EIGERD
|
||||
int setMaster(enum MASTERINDEX m);
|
||||
int setTop(int t);
|
||||
int setTop(enum TOPINDEX t);
|
||||
int isTop(int *retval);
|
||||
#endif
|
||||
#if defined(MYTHEN3D) || defined(EIGERD) || defined(GOTTHARDD) || \
|
||||
|
@ -1285,7 +1285,7 @@ class CmdProxy {
|
||||
INTEGER_COMMAND_VEC_ID_GET(
|
||||
master, getMaster, setMaster, StringTo<int>,
|
||||
"[0, 1]\n\t[Eiger] Sets half module to master and "
|
||||
"others to slaves.\n\t\t [Gotthard][Mythen3][Eiger] "
|
||||
"others to slaves.\n\t\t [Gotthard][Gotthard2][Mythen3][Eiger] "
|
||||
"Gets if the current module/ half module is master.");
|
||||
|
||||
/* acquisition parameters */
|
||||
|
Loading…
x
Reference in New Issue
Block a user