From: hadaq Date: Mon, 12 Aug 2024 12:40:22 +0000 (+0200) Subject: change settings for ADC on DiRich currents X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=3e93659039466c9e140f9cbf6bdb06bfac9951de;p=daqtools.git change settings for ADC on DiRich currents --- diff --git a/users/frankfurt_test/trb3scadc.pl b/users/frankfurt_test/trb3scadc.pl index 6fd58a4..ca212ee 100755 --- a/users/frankfurt_test/trb3scadc.pl +++ b/users/frankfurt_test/trb3scadc.pl @@ -24,8 +24,8 @@ my $t = [['mV (3.3)','mV (2.5)','mV (1.2)','mV (6)'], my $channel = [7,7,7,6,6,7,7]; #SPI interface number - 777657 would be right #1:4V, 2:2V, 3:1V -my $resolution = [[2,1,2,1], [2,2,2,1], [2,2,2,4], [2,2,2,2], [3,3,2,2], [1,2,1,2], [1,2,1,2]]; -my $multiplier= [[1,1,0.5,2],[1,1,0.5,0],[1,1,0.5,3.125],[1,1,0.5,0.5], [2.5,1.25,1,0.5], [2,0.5,1,1], [1,0.5,2,1]]; +my $resolution = [[2,1,2,1], [2,2,2,1], [2,2,2,4], [2,2,2,2], [2,3,2,2], [1,2,1,2], [1,2,1,2]]; +my $multiplier= [[1,1,0.5,2],[1,1,0.5,0],[1,1,0.5,3.125],[1,1,0.5,0.5], [5,1.25,1,0.5], [2,0.5,1,1], [1,0.5,2,1]]; my $modedesc = [ 'Trb3sc', 'DiRich', 'Concentrator', 'Power-Voltages','Power-Currents', 'Trb5sc', 'MDC']; print "\nRunning in mode ".$modedesc->[$mode]."\n\n";