$plot2->{addCmd} = "set lmargin at screen 0.07\nset rmargin at screen 0.85\nset bmargin at screen 0.07\nset tmargin at screen 0.95";
HPlot::PlotInit($plot2);
-my $str = Dmon::MakeTitle(10,15,"HeatmapRich",0);
+my $str = Dmon::MakeTitle(9,14,"HeatmapRich",0);
$str .= qq@<img src="%ADDPNG HeatmapRich.png%" type="image/png">@;
$str .= Dmon::MakeFooter();
Dmon::WriteFile("HeatmapRich",$str);
use warnings;
use lib "./code";
+use lib "../tools";
use HADES::TrbNet;
use Dmon;
+use HPlot;
use Data::Dumper;
-my %config = do $ARGV[0];
+my %config = Dmon::StartUp();
while(1) {
- my $r = sendcmd(0x10040000,0xfe48,0);
my $max = 1;
my $min = 100;
my ($maxboard, $minboard);
- foreach my $b (keys %$r) {
+ foreach my $b ($config{PadiwaTrbAdresses}) {
+ my $r = sendcmd(0x10040000,$b,0);
+ next unless defined $r;
my $temp = (($r->{$b} & 0xFFF))/16;
next if ($temp < 10 || $temp > 90);
if ($max < $temp) {
activeScripts => [['time','ping','-','-','daqop'],
['numfee','temperature','reftime','billboard','mbs'],
['trgrate','datarate','deadtime','-','-'],
- ['heatmaprich','-','-','-','-'],
+ ['heatmaprich','padiwatemp','-','-','-'],
['cbmnetlink','cbmnetdata','cbmnetsync','-','-'],],
#Names to be shown in left column of Overview (max 4 letters!)
0x00d0,0x00d1,0x00d2,0x00d3,
0x00e0,0x00e1,0x00e2,0x00e3,
0x00f0,0x00f1,0x00f2,0x00f3,
- 0x0100,0x0101,0x0102,0x0103,
- 0x0110,0x0111,0x0112,0x0113],
+ 0x0100,0x0101,0x0102,0x0103],
HubTrbAdresses => [0x7005,0x7000,0x7001,0x7002,0x7003,
0x0015,