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

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Wed May 1 09:40:15 MDT 2019


Author: alexey
Date: 2019-05-01 15:40:14 +0000 (Wed, 01 May 2019)
New Revision: 2749

Modified:
   trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
Log:
minor update for manual stop



Modified: trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
===================================================================
--- trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-04-30 23:47:36 UTC (rev 2748)
+++ trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-05-01 15:40:14 UTC (rev 2749)
@@ -1828,7 +1828,7 @@
     }
   
   
-  if ( exp_status == 3 )
+  if ( exp_status == 0 ) //ALEXEY should be == 3 as per documentation
     {
       timer_check_sysdata->stop();
       disconnect(timer_check_sysdata, SIGNAL(timeout()), 0, 0);   //Disconnect timer from anything
@@ -2328,7 +2328,7 @@
    qDebug() << "TripleNumber, ntriple " << TripleNumber.toInt() << ", " << ntriple;
 
    //ALEXEY: Add Exp. Abortion Exception HERE... 
-   if ( CheckExpComplete_auto( RunID_to_retrieve ) == 3 )
+   if ( CheckExpComplete_auto( RunID_to_retrieve ) == 0 ) //ALEXEY should be == 3 as per documentation
      {
        timer_all_data_avail->stop();
        disconnect(timer_all_data_avail, SIGNAL(timeout()), 0, 0);   //Disconnect timer from anything
@@ -3722,7 +3722,7 @@
       
       /** Experiment Aborted ***/
       
-      if ( statusExp == 3 )
+      if ( statusExp == 0 ) //ALEXEY should be == 3 as per documentation
 	{
 	  timer_data_reload->stop();
 	  disconnect(timer_data_reload, SIGNAL(timeout()), 0, 0);   //Disconnect timer from anything



More information about the us-commits mailing list