mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 03:20:42 +02:00
fixed acquire not working
This commit is contained in:
parent
788ad8d3b6
commit
0f869e1215
@ -92,12 +92,17 @@ class multiSlsDetectorClient {
|
|||||||
|
|
||||||
//Call CmdProxy which execute the command if it exists, on success returns an empty string
|
//Call CmdProxy which execute the command if it exists, on success returns an empty string
|
||||||
//If the command is not in CmdProxy but deprecated the new command is returned
|
//If the command is not in CmdProxy but deprecated the new command is returned
|
||||||
|
if(action_ != slsDetectorDefs::READOUT_ACTION){
|
||||||
sls::CmdProxy<multiSlsDetector> proxy(detPtr);
|
sls::CmdProxy<multiSlsDetector> proxy(detPtr);
|
||||||
auto cmd = proxy.Call(parser.command(), parser.arguments(), parser.detector_id());
|
auto cmd = proxy.Call(parser.command(), parser.arguments(), parser.detector_id());
|
||||||
if (cmd.empty())
|
if (cmd.empty()){
|
||||||
return;
|
return;
|
||||||
else
|
}
|
||||||
|
else{
|
||||||
parser.setCommand(cmd);
|
parser.setCommand(cmd);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user