Commit 75eabdb3 authored by Franck Cecillon's avatar Franck Cecillon

bad commit

parent 809ec2f6
......@@ -37,8 +37,11 @@ const int32 MpdaCommon::LISTMODE_MODE = 1;
*/
MpdaCommon::MpdaCommon(const std::string& name) : RegisterCommon(name) {
// nbGGs use for initGG (all GG in MPDA )
// but nbGGsUseAcqMode use for WriteParam (need to exclude all DMS gg)
nbGGs.init(this, SAVE, "nbGGs");
nbGGsUseAcqMode.init(this, NOSAVE, "nbGGs");
nbGGsUseAcqMode.init(this, NOSAVE, "nbGGsUseAcqMode");
portType.init(this, NOSAVE, "portType");
ggaddress.init(this, NOSAVE | HEX, "ggaddress");
......
......@@ -167,7 +167,8 @@ void MpdaController::init() {
vector<ControllerPtr<GGController>>::iterator iter2 = m_GGs.begin();
iter2 = m_GGs.begin();
while (iter2!= m_GGs.end()) {
if ( (*iter2)->portType() != 0 ){
if ( (*iter2)->cardType() != 23 ){// cardType = lstdpp128::DMS;
localnbGGsUseAcqMode++;
}
++iter2;
......@@ -181,7 +182,7 @@ void MpdaController::init() {
cout << " This is correct if your configuration include a DMS" << endl;
cout << " DMS is not a GG for acquisition " << endl;
cout << " nGGs " << nGGs() << endl;
cout << " nGGs for Acq " << mpdaDriver->nbGGsUseAcqMode() << endl;
cout << " nGGs for Acq " << mpdaDriver->nbGGsUseAcqMode() << endl;
cout << "===================================" << endl;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment