mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
increased delay to get framescaught from receiver for acquire form command line
This commit is contained in:
parent
125c3a789a
commit
d54392c6eb
@ -4485,7 +4485,8 @@ string slsDetectorCommand::cmdReceiver(int narg, char *args[], int action) {
|
|||||||
if(!strcasecmp(args[1],"start"))
|
if(!strcasecmp(args[1],"start"))
|
||||||
myDet->startReceiver();
|
myDet->startReceiver();
|
||||||
else if(!strcasecmp(args[1],"stop")){
|
else if(!strcasecmp(args[1],"stop")){
|
||||||
myDet->startReceiverReadout();
|
//myDet->stopReceiver();
|
||||||
|
// myDet->startReceiverReadout();
|
||||||
/*runStatus s = myDet->getReceiverStatus();
|
/*runStatus s = myDet->getReceiverStatus();
|
||||||
while(s != RUN_FINISHED){
|
while(s != RUN_FINISHED){
|
||||||
usleep(50000);
|
usleep(50000);
|
||||||
|
@ -494,7 +494,7 @@ void* postProcessing::processData(int delflag) {
|
|||||||
while(true){
|
while(true){
|
||||||
cout.flush();
|
cout.flush();
|
||||||
cout<<flush;
|
cout<<flush;
|
||||||
usleep(20000); //20ms need this else connecting error to receiver (too fast)
|
usleep(50000); //20ms need this else connecting error to receiver (too fast)
|
||||||
|
|
||||||
//get progress
|
//get progress
|
||||||
if(setReceiverOnline() == ONLINE_FLAG){
|
if(setReceiverOnline() == ONLINE_FLAG){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user