[us-commits] r2826 - trunk/programs/us_xpn_viewer

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Tue Aug 27 00:03:30 MDT 2019


Author: alexey
Date: 2019-08-27 06:03:30 +0000 (Tue, 27 Aug 2019)
New Revision: 2826

Modified:
   trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
Log:
... forgot to remove artificial loop for data aqcuisition



Modified: trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
===================================================================
--- trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-08-27 06:01:38 UTC (rev 2825)
+++ trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-08-27 06:03:30 UTC (rev 2826)
@@ -1969,7 +1969,7 @@
 
   int exp_status = CheckExpComplete_auto( RunID_to_retrieve  );
    
-  if ( exp_status == 55 || exp_status == 10 )
+  if ( exp_status == 5 || exp_status == 0 )
     {
       if ( exp_status == 0)
 	experimentAborted  = true;
@@ -2591,7 +2591,7 @@
    qDebug() << "TripleNumber, ntriple " << TripleNumber.toInt() << ", " << ntriple;
 
    //ALEXEY: Add Exp. Abortion Exception HERE... 
-   if ( CheckExpComplete_auto( RunID_to_retrieve ) == 10 ) //ALEXEY should be == 3 as per documentation
+   if ( CheckExpComplete_auto( RunID_to_retrieve ) == 0 ) //ALEXEY should be == 3 as per documentation
      {
        qDebug() << "ABORTION IN EARLY STAGE...";
        
@@ -3961,7 +3961,7 @@
       /*** Check Experiement Status: if completed, kill the timer, export the data into AUC format, return, signal to switch panels in US_comproject ***/
       int statusExp = CheckExpComplete_auto( RunID_to_retrieve  );
 
-      if ( statusExp == 55 || statusExp == 10 )
+      if ( statusExp == 5 || statusExp == 0 )
 	{
 	  if ( statusExp == 0 )
 	    experimentAborted  = true;



More information about the us-commits mailing list