From 4066c2bf6fc8b9bfeb72600ba674f96195d12c91 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 3 Feb 2017 18:41:38 +0100 Subject: [PATCH] Update xml-db with new registers for trigger generation --- users/frankfurt_test/setpulser.sh | 26 +++++++++++++++++ xml-db/database/InputMonitorTrb3sc.xml | 39 ++++++++++++++++++++------ 2 files changed, 57 insertions(+), 8 deletions(-) create mode 100755 users/frankfurt_test/setpulser.sh diff --git a/users/frankfurt_test/setpulser.sh b/users/frankfurt_test/setpulser.sh new file mode 100755 index 0000000..e8cf8a2 --- /dev/null +++ b/users/frankfurt_test/setpulser.sh @@ -0,0 +1,26 @@ +#!/bin/bash +trbcmd w 0xfe61 0xa100 100000 +trbcmd w 0xfe61 0xa101 100000 +trbcmd w 0xfe61 0xa102 100000 +trbcmd w 0xfe61 0xa103 200000 +trbcmd w 0xfe61 0xa104 200000 +trbcmd w 0xfe61 0xa105 0x2710 +trbcmd w 0xfe61 0xa106 200000 +trbcmd w 0xfe61 0xa107 200000 + +trbcmd w 0xfe61 0xa200 20 +trbcmd w 0xfe61 0xa201 20 +trbcmd w 0xfe61 0xa202 20 +trbcmd w 0xfe61 0xa203 20 +trbcmd w 0xfe61 0xa204 20 +trbcmd w 0xfe61 0xa205 20 +trbcmd w 0xfe61 0xa206 20 +trbcmd w 0xfe61 0xa207 20 + +cd ../../xml-db/ +put.pl Pulser 0xfe61 EnKelFirst16 0xff +put.pl InputMonitorTrb3sc 0xf305 MonitorEnable 0xffffffff + + + +cd - diff --git a/xml-db/database/InputMonitorTrb3sc.xml b/xml-db/database/InputMonitorTrb3sc.xml index 8fc7dd9..391fef5 100644 --- a/xml-db/database/InputMonitorTrb3sc.xml +++ b/xml-db/database/InputMonitorTrb3sc.xml @@ -90,7 +90,7 @@ Registers of the trigger generation logic - + Enables individual inputs 0 - 31 for trigger generation. If enabled, the input adds to the common or @@ -114,14 +114,14 @@ Inverts individual inputs for trigger generation. - + Enable input to be used in coincidence logic. First group of signals or'ed. At least one of the inputs to each group must fire within 40 ns to get a coincidence. - + - + Enable input to be used in coincidence logic. Second group of signals or'ed. At least one of the inputs to each group must fire within 40 ns to get a coincidence. - - + + Current status of all outputs @@ -136,7 +136,7 @@ - Multiplicity based on enabled inputs to output 1. Output used is 2! Coincidence interval is fixed to 4 clock cycles + Coincidence interval is fixed to 4 clock cycles Number of inputs firing at the same time required to cause a trigger @@ -144,7 +144,30 @@ Current number of active inputs. - + + Select inputs for multiplicity logic + + + + + Coincidence Logic + + + + + + + Select the outputs for special signals (coincidence and multiplicity) + + Outputs to add the coincidence signal to + + + Outputs to add the multiplicity signal to + + + Outputs to add the simple coincidence signal to + + -- 2.43.0