]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
Update ADC monitor for MDC Boards
authorJan Michel <j.michel@gsi.de>
Tue, 9 Aug 2022 14:36:20 +0000 (16:36 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 9 Aug 2022 14:36:20 +0000 (16:36 +0200)
users/frankfurt_test/trb3scadc.pl

index 2319220561fdc942a88dadcb07b7984c1de28214..6fd58a48794fd9b371304ee4785db18b56fae8cd 100755 (executable)
@@ -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],   [2,2,2,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], [0.5,0.5,1,1]];
+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 $modedesc =   [ 'Trb3sc',  'DiRich',   'Concentrator', 'Power-Voltages','Power-Currents', 'Trb5sc',    'MDC'];
 
 print "\nRunning in mode ".$modedesc->[$mode]."\n\n";