Changeset 13258 for trunk/FACT++


Ignore:
Timestamp:
03/28/12 21:38:47 (13 years ago)
Author:
tbretz
Message:
Ensure that after a successfull overcurrent reset at least one status request is send.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/biasctrl.cc

    r13236 r13258  
    360360        if (command==kCmdReset)
    361361        {
    362             Message("Reset command successfully answered... restarting automatic readout.");
     362            Message("Reset command successfully answered...");
    363363
    364364            fCounter[1]++;
     
    369369            // values
    370370            fUpdateTimer.cancel();
    371             ScheduleUpdate(100);
     371
     372            if (fUpdateTime==0)
     373                ReadAllChannels(true);
     374            else
     375            {
     376                Message("...restarting automatic readout.");
     377                ScheduleUpdate(100);
     378            }
    372379        }
    373380
Note: See TracChangeset for help on using the changeset viewer.