Skip to content
Snippets Groups Projects
Commit 92a6bc05 authored by Sonia Minolli's avatar Sonia Minolli
Browse files

Update low & high atrig levels default value (min 1 in ADLINK doc)

parent 1980d94a
No related branches found
No related tags found
No related merge requests found
......@@ -50,10 +50,10 @@ ContinuousAIConfig::ContinuousAIConfig ()
analog_trigger_channel_ (adl::analog_trigger_chan0),
//- default analog trigger condition: above_high_level
analog_trigger_condition_ (adl::above_high_level),
//- default analog trigger low condition level: 0
analog_trigger_lo_level_ (0),
//- default analog trigger high condition level: 0
analog_trigger_hi_level_ (0),
//- default analog trigger low condition level: 1
analog_trigger_lo_level_ (1),
//- default analog trigger high condition level: 1
analog_trigger_hi_level_ (1),
//- default sampling rate: 1000 Hz
sampling_rate_ (1000.0),
//- default data_lost strategy: ignore
......
......@@ -216,10 +216,6 @@ void ADContinuousAIBoard::configure_continuous_ai (const asl::ContinuousAIConfig
//- analog trigger: high level
unsigned short atrig_lo_level = this->ai_config_.get_analog_low_level_condition();
// soso traces
std::cout << "soso in configure_continuous_ai() call to D2K_AIO_Config with timebase: " << timebase_type << " - atrig ctrl = "
<< atrig_ctrl << " - hi level = " << atrig_hi_level << " - lo level = " << atrig_lo_level << std::endl;
// soso attention : hi = 0, lo = 0, ça marche quand même ??
err = ::D2K_AIO_Config(this->idid_,
timebase_type,
atrig_ctrl,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment