From 78b1c417ae373b17bf07358eacda42bc3878f52d Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 24 Jun 2016 11:38:08 +0200 Subject: [PATCH] Update registers in ADC AddOn --- tools/adc.pl | 2 +- xml-db/database/ADC.xml | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/tools/adc.pl b/tools/adc.pl index 1efe464..5fcca1a 100755 --- a/tools/adc.pl +++ b/tools/adc.pl @@ -492,7 +492,7 @@ sub set_optimal_phases { print ">>>>>>>>>>>> Warning: No optimal phase found for ADC $adc, guessing 0\n"; $opt_phase=0; } - #print "Opt phase: $opt_phase Max length $max_length\n"; + print "Opt phase: $opt_phase Max length $max_length\n"; # now set them for each ADC @adcs = ($adc); # used by adc_phase diff --git a/xml-db/database/ADC.xml b/xml-db/database/ADC.xml index 7228b0a..bd6977b 100644 --- a/xml-db/database/ADC.xml +++ b/xml-db/database/ADC.xml @@ -26,7 +26,7 @@ + address="0010" size="16" purpose="config" mode="rw" continuous="false"> Configuration of buffer handling Number of samples to be stored in the buffer @@ -45,11 +45,11 @@ Settings of trigger signal generation - + Offset from the calculated baseline that must be reached to generate a trigger signal for the CTS - Selects positive (unset) or negative (set) signal inputs. If negative is selected, a trigger is generated if the input signal is below the baseline minus the set threshold + Selects positive (unset) or negative (set) signal inputs. If negative is selected, a trigger is generated if the input signal is below the baseline plus the set (negative) threshold @@ -107,6 +107,17 @@ + + Sets a defined reset value of the baseline. If not active, baseline is resetted to 0 or MAX depending on polarity selection of trigger generation. + To fix the baseline at this value, BaselineReset + + Do not do baseline calculations, always fix to the reset value. + + + Enable user supplied reset value for baseline, do not calculate automatically + + + -- 2.43.0