From: Jan Michel Date: Wed, 23 Oct 2013 12:54:59 +0000 (+0200) Subject: finished hub control registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=19237a3e9ada760fd41a12272da63971498e1962;p=daqtools.git finished hub control registers --- diff --git a/web/htdocs/network/hub.pl b/web/htdocs/network/hub.pl index 9c6282d..3e23e28 100755 --- a/web/htdocs/network/hub.pl +++ b/web/htdocs/network/hub.pl @@ -27,8 +27,8 @@ $setup[1]->{period} = -1; $setup[1]->{address} = 1; -$setup[2]->{name} = "Config"; -$setup[2]->{cmd} = "Hub-0xfffe-Config"; +$setup[2]->{name} = "Control"; +$setup[2]->{cmd} = "Hub-0xfffe-Control"; $setup[2]->{period} = -1; $setup[2]->{address} = 1; diff --git a/web/htdocs/scripts/xmlpage.js b/web/htdocs/scripts/xmlpage.js index 44075d9..1d5c057 100644 --- a/web/htdocs/scripts/xmlpage.js +++ b/web/htdocs/scripts/xmlpage.js @@ -1,7 +1,7 @@ function editsetting(e) { if(e.target.getAttribute("class") && e.target.getAttribute("class").indexOf("editable")!=-1) { var text = e.target.getAttribute("cstr"); - text += "\\nCurrent Value: "+e.target.innerHTML+" ("+e.target.getAttribute("raw")+")\\n "; + text += "\nCurrent Value: "+e.target.innerHTML+" ("+e.target.getAttribute("raw")+")\n "; var newval = prompt(text,e.target.getAttribute("raw")); if (newval != null) { getdataprint('../xml-db/put.pl?'+e.target.getAttribute("cstr")+'-'+newval,'returntext',false,-1,refresh); diff --git a/xml-db/database/Hub.xml b/xml-db/database/Hub.xml index 09c266b..2e16e0a 100644 --- a/xml-db/database/Hub.xml +++ b/xml-db/database/Hub.xml @@ -65,10 +65,10 @@ - Timeout registers. If a bit is set, there was a timeout on the corresponding port. - + Timeout registers. If a bit is set, there was a timeout on the corresponding port. Timeout registers. If a bit is set, there was a timeout on the corresponding port during the last transfer. @@ -223,9 +223,79 @@ - +