From: Jan Michel Date: Fri, 3 Jul 2015 15:58:06 +0000 (+0200) Subject: adding registers for Pulser AddOn X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=30de0b5adb44127e25b10ab34fb40bef86d179af;p=daqtools.git adding registers for Pulser AddOn --- diff --git a/web/htdocs/addons/pulseraddon.pl b/web/htdocs/addons/pulseraddon.pl new file mode 100755 index 0000000..8620f92 --- /dev/null +++ b/web/htdocs/addons/pulseraddon.pl @@ -0,0 +1,45 @@ +#!/usr/bin/perl +if ($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i) { + print "HTTP/1.0 200 OK\n"; + print "Content-type: text/html\r\n\r\n"; + } +else { + use lib '..'; + use if (!($ENV{'SERVER_SOFTWARE'} =~ /HTTPi/i)), apacheEnv; + print "Content-type: text/html\n\n"; + } + +use CGI ':standard'; +use XML::LibXML; +use POSIX; +use CGI::Carp qw(fatalsToBrowser); + +use lib qw|../commands htdocs/commands|; +use xmlpage; + +my $page; + +$page->{title} = "Pulser AddOn"; +$page->{link} = "../"; + +my @setup; + +push(@setup,({name => "Control", + cmd => "Pulser-0xfe61-GlobalConfig", + period => 1000, + address => 1})); + +push(@setup,({name => "PulserConfig", + cmd => "Pulser-0xfe61-PulserConfig", + period => 10000, + address => 1})); + + +xmlpage::initPage(\@setup,$page); + + + + +1; + + diff --git a/web/htdocs/index.pl b/web/htdocs/index.pl index 0b64274..69782ad 100755 --- a/web/htdocs/index.pl +++ b/web/htdocs/index.pl @@ -96,6 +96,7 @@ The main documentation of the network can be found in these documents and locati
  • CBM-MBS Receiver
  • 48ch sampling ADC
  • 48ch sampling ADC CFD +
  • Pulser AddOn
  • Everything else diff --git a/xml-db/database/Pulser.xml b/xml-db/database/Pulser.xml new file mode 100644 index 0000000..c4b2b26 --- /dev/null +++ b/xml-db/database/Pulser.xml @@ -0,0 +1,73 @@ + + + Pulse generator + + + Configuration for all channels + + Enables individual outputs + + + + + + + + + + + + + + + + + Invert individual outputs - negative pulse, logical 1 when idle + + + + + + + + + + + + + + + + + Setting for the analog pulser. + + + + + + + + + + + Settings for each pulser channel + + The period of the pulser, given in multiples of the 240 MHz clock cycle + + + + The width of the pulse, given in multiples of the 960 MHz clock cycle + + + + The offset of the pulser channel, given in multiples of the 240 MHz clock cycle + + + + + +