From: Ludwig Maier Date: Sat, 23 Nov 2013 01:27:14 +0000 (+0100) Subject: nxyter register updates X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=25a41ab31c05a0e78fe99be359f3c8788374b00e;p=daqtools.git nxyter register updates --- diff --git a/users/tum_e12/configure_cts.sh b/users/tum_e12/configure_cts.sh index 26a189b..614893e 100755 --- a/users/tum_e12/configure_cts.sh +++ b/users/tum_e12/configure_cts.sh @@ -12,6 +12,10 @@ trbcmd w 0x8000 0x8308 0xffffff trbcmd w 0x8000 0x830b 0x7 trbcmd w 0x8000 0x830d 0x0 +# Pulser #0 Settings +#trbcmd w 0x8000 0xa140 0x0001869f +#trbcmd clearbit 0x8000 0xa101 0x2 + # Pulser #0 Settings trbcmd w 0x8000 0xa137 0x0001869f #0x3e7 trbcmd clearbit 0x8000 0xa101 0x2 diff --git a/web/htdocs/commands/xmlpage.pm b/web/htdocs/commands/xmlpage.pm index f64b9dd..841f14d 100644 --- a/web/htdocs/commands/xmlpage.pm +++ b/web/htdocs/commands/xmlpage.pm @@ -41,6 +41,7 @@ EOF
); + for ( my $s = 0; $s < scalar @setup; $s++) { print qq|$setup[$s]->{name}|; } @@ -113,4 +114,4 @@ sub printJavaScripts { } -1; \ No newline at end of file +1; diff --git a/web/htdocs/layout/blue.css b/web/htdocs/layout/blue.css index 57d9905..8427360 100644 --- a/web/htdocs/layout/blue.css +++ b/web/htdocs/layout/blue.css @@ -43,7 +43,7 @@ body { } #overview { - min-width:1000px; + min-width:1100px; margin:50px 0 0 20px; resize:horizontal; /* overflow:auto; */ @@ -208,6 +208,7 @@ table.fields td.button_move:hover, table.registers td.button_move:hover{ div.header { + white-space:nowrap; font-size:13pt; position:absolute; font-weight:bold; @@ -347,4 +348,4 @@ th:hover .tooltip, td:hover .tooltip { table.queryresult th div, table.queryresult td div { position:relative; cursor:default; -} \ No newline at end of file +} diff --git a/web/htdocs/nxyter/index.pl b/web/htdocs/nxyter/index.pl index d959cf7..0580348 100755 --- a/web/htdocs/nxyter/index.pl +++ b/web/htdocs/nxyter/index.pl @@ -16,41 +16,32 @@ $page->{title} = "Nxyter Register"; $page->{link} = "../"; my @setup; -$setup[0]->{name} = "DataValid"; -$setup[0]->{cmd} = "Nxyter-0xfe49-DataValidate"; + +$setup[0]->{name} = "NXControl"; +$setup[0]->{cmd} = "Nxyter-0xfe49-NXControl"; $setup[0]->{period} = -1; -$setup[0]->{address} = 1; +$setup[0]->{generic} = 1; -$setup[1]->{name} = "TrigValidate"; -$setup[1]->{cmd} = "Nxyter-0xfe49-TriggerValidate"; +$setup[1]->{name} = "DataReceiver"; +$setup[1]->{cmd} = "Nxyter-0xfe49-DataValidate&Nxyter-0xfe49-DataReceiver"; $setup[1]->{period} = -1; $setup[1]->{address} = 1; -$setup[2]->{name} = "TriggerHandler"; -$setup[2]->{cmd} = "Nxyter-0xfe49-TriggerHandler&Nxyter-0xfe49-TestPulse"; +$setup[2]->{name} = "TrigValidate"; +$setup[2]->{cmd} = "Nxyter-0xfe49-TriggerValidate"; $setup[2]->{period} = -1; $setup[2]->{address} = 1; -$setup[3]->{name} = "DataReceiver"; -$setup[3]->{cmd} = "Nxyter-0xfe49-DataReceiver"; +$setup[3]->{name} = "TriggerHandler"; +$setup[3]->{cmd} = "Nxyter-0xfe49-TriggerHandler&Nxyter-0xfe49-TestPulse"; $setup[3]->{period} = -1; $setup[3]->{address} = 1; $setup[4]->{name} = "I2CRegister"; -$setup[4]->{cmd} = "Nxyter-0xfe49-NxyterI2C"; +$setup[4]->{cmd} = "Nxyter-0xfe49-NxyterI2C&Nxyter-0xfe49-NxyterDAC"; $setup[4]->{period} = -1; $setup[4]->{address} = 1; -$setup[5]->{name} = "DACRegister"; -$setup[5]->{cmd} = "Nxyter-0xfe49-NxyterDAC"; -$setup[5]->{period} = -1; -$setup[5]->{address} = 1; - -$setup[6]->{name} = "NXControl"; -$setup[6]->{cmd} = "Nxyter-0xfe49-NXControl"; -$setup[6]->{period} = -1; -$setup[6]->{generic} = 1; - xmlpage::initPage(\@setup,$page); 1; diff --git a/xml-db/database/Nxyter.xml b/xml-db/database/Nxyter.xml index 90cb1aa..6ea1545 100644 --- a/xml-db/database/Nxyter.xml +++ b/xml-db/database/Nxyter.xml @@ -188,7 +188,7 @@ + address="0500" size="15" purpose="status" mode="rw" continuous="true"> Current Timestamp Value read from Fifo @@ -225,9 +225,9 @@ - + ADC Sampling PLL Clock Not Lock Counter - + @@ -250,7 +250,7 @@ - + "ADC Input Error Enable @@ -260,15 +260,32 @@ - - Nyxter Data Clock OK - + + ADC Clock OK, Johnson counter is synced + ADC Handler Reset Counter + + + nx_fifo_threshold + + + + + ADC Bit Shift + + + ADC Bit Shift Direction (0=ror, 1=rol) + + + ADC Bit Shift value + + + @@ -367,31 +384,51 @@ + address="0103" size="9" purpose="status" mode="rw" continuous="true"> - - Nxyter Offline Mode + + Force Nxyter Offline Mode + + + + + Nxyter I2C Online Status + + + + + Nxyter Offline Status - + Nxyter Main Clock Lock (250 MHz) - + ADC Data Clock Lock - + + + + + ADC Sample Clock Lock + - + PLL Nxyter Main Clock NotLock Counter - + PLL ADC Data Clock NotLock Counter - + + + + + PLL ADC Sample Clock NotLock Counter +