Changeset 3899 in Sophya for trunk/AddOn/TAcq/brparam.cc


Ignore:
Timestamp:
Oct 4, 2010, 11:15:02 PM (15 years ago)
Author:
ansari
Message:

Ajout flag waitendmsg (Wait for END message) pour le controle de la fin d'execution de EthernetReader , Reza 04/10/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brparam.cc

    r3897 r3899  
    139139  ethr_sfc_maxdpc_=50;
    140140  ethr_sfc_maxresync_=50;
     141  ethr_waitendmsg_=false;
    141142
    142143  skysource="";
     
    212213  ethr_sfc_maxdpc_=p.ethr_sfc_maxdpc_;
    213214  ethr_sfc_maxresync_=p.ethr_sfc_maxresync_;
     215  ethr_waitendmsg_=p.ethr_waitendmsg_;
    214216
    215217  skysource=p.skysource;
     
    263265    ethr_sfc_maxresync_=conf.IParam("ethrforcesamefc",1,50);
    264266  }
     267  if (conf.HasKey("ethrwaitendmsg"))  ethr_waitendmsg_=true;
    265268
    266269  //  Parametre de controle du monitoring
     
    398401  if (ethr_forcesamefc_)
    399402    cout << "EthernetReader mode: ForceSameFrameCounter read mode with Max_PaquetCounterDiff= "
    400          << ethr_sfc_maxdpc_ << " MaxNbResync=" << ethr_sfc_maxresync_ << endl;
     403         << ethr_sfc_maxdpc_ << " MaxNbResync=" << ethr_sfc_maxresync_
     404         << ((ethr_waitendmsg_)?" Wait_For_END_Message_Before_Terminate ":" ") << endl;
    401405  else
    402     cout << "EthernetReader mode: AllOKPaquets read mode " << endl;
     406    cout << "EthernetReader mode: AllOKPaquets read mode "
     407         << ((ethr_waitendmsg_)?" Wait_For_END_Message_Before_Terminate ":" ") << endl;
    403408
    404409  if (fgdoProc>0)
Note: See TracChangeset for help on using the changeset viewer.