From: Jan Michel Date: Tue, 22 Oct 2013 17:16:43 +0000 (+0200) Subject: started including Hub registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5a8a503a14160901d7513076eb88b5cad211f0c7;p=daqtools.git started including Hub registers --- diff --git a/xml-db/database/Hub.xml b/xml-db/database/Hub.xml index 97e8d71..c653934 100644 --- a/xml-db/database/Hub.xml +++ b/xml-db/database/Hub.xml @@ -6,24 +6,149 @@ > Register of the hub entity - + + address="0000" size="4" purpose="config"> Current status of each port of the hub on each channel. + address="0000" repeat="4" purpose="status" > Current status of each port of the hub on each channel. + start="0" bits="17" purpose="status" format="bitmask"> - - diff --git a/xml-db/get.pl b/xml-db/get.pl index 2ce9083..d841ab5 100755 --- a/xml-db/get.pl +++ b/xml-db/get.pl @@ -11,7 +11,7 @@ use if (!defined $ENV{'QUERY_STRING'}), Data::Dumper; use if (!defined $ENV{'QUERY_STRING'}), Data::TreeDumper; use if (!defined $ENV{'QUERY_STRING'}), Getopt::Long; - +# use Data::TreeDumper; my ($db,$data,$once,$slice); my $help = 0; my $verbose = 0;