Changeset 11444 for trunk


Ignore:
Timestamp:
07/18/11 16:25:00 (13 years ago)
Author:
tbretz
Message:
Updated access to run-number.
File:
1 edited

Legend:

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

    r11421 r11444  
    10801080        }
    10811081
     1082        const uint32_t runno = StartNewRun();
     1083
    10821084        ostringstream str;
    1083         str << "Starting configuration for run " << GetRunNumber() << " (" << name << ")";
     1085        str << "Starting configuration for run " << runno << " (" << name << ")";
    10841086        T::Message(str.str());
    1085 
    1086         const uint32_t runno = IncreaseRunNumber();
    10871087
    10881088        for (BoardList::iterator it=fBoards.begin(); it!=fBoards.end(); it++)
     
    14151415        if (nconnecting1==0 && nconnected1>0 && nconnected2==nconnected1)
    14161416        {
    1417             if (T::GetCurrentState()==FAD::kConfigured && IsRunStarted(GetRunNumber()-1))
     1417            if (T::GetCurrentState()==FAD::kConfigured && IsRunStarted())
    14181418                return FAD::kConnected;
    14191419
Note: See TracChangeset for help on using the changeset viewer.