Skip to content
Snippets Groups Projects

Feature/sampic handler

Merged Adrien Blanchet requested to merge feature/sampicHandler into feature/dataOutput
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -154,6 +154,10 @@ void SampicHandler::setupSampicParameters(){
"Could not reset channel modes."
);
SAMPIC256CH_SetExternalTriggerType( &_crateInfoParams_, &_crateParams_, EXT_SIG );
SAMPIC256CH_SetExternalTriggerSigLevel( &_crateInfoParams_, &_crateParams_, TTL_SIG );
LogInfo << "Setting up channels..." << std::endl;
for( auto& feb : _febList_ ){
if( not feb.isEnabled() ) continue;
@@ -162,6 +166,7 @@ void SampicHandler::setupSampicParameters(){
for( size_t iChannel = 0 ; iChannel < sampic.getChannelIsEnabledList().size() ; iChannel++ ){
if( sampic.getChannelIsEnabledList()[iChannel] ){
LogThrowIf(
SAMPIC256CH_SetChannelMode(
&_crateInfoParams_, &_crateParams_, feb.getIndex(), sampic.getChannelIndex(int(iChannel)), 1
Loading