From d7f1a04a7355277fd887e0114eb42156c4cd7d15 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Thu, 11 Jul 2013 19:24:26 +0200 Subject: [PATCH] added nxyter AddOn to network map --- web/htdocs/network/map.htm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/htdocs/network/map.htm b/web/htdocs/network/map.htm index 2b9ec11..3ed115d 100644 --- a/web/htdocs/network/map.htm +++ b/web/htdocs/network/map.htm @@ -61,7 +61,7 @@ function update(data) { case 2: o += "Multitest"; break; case 3: o += "SFP"; break; case 4: o += "Padiwa"; break; - case 5: o += "GPIN"; break; + case 5: o += "GPIN"; break; case 6: o += "Nxyter"; break; default: o+= "---"; } @@ -71,7 +71,8 @@ function update(data) { o += ""; if(type == 0x91 || type == 0x92) { if((c[j][4] & 0x8000) == 0x8000) o += "RX sync, "; - if((c[j][4] & 0x0b00) == 0x000 && (c[j][4]>>12 & 0x7) != 6&& (c[j][4]>>12 & 0x7) != 3) {o += "TDC, single, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";} + if((c[j][4] & 0x0b00) == 0x000 && (c[j][4]>>12 & 0x7) != 6 && (c[j][4]>>12 & 0x7) != 3) {o += "TDC, single, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";} + if((c[j][4] & 0xf000) == 0x6000) {o += "Nxyter RDO, ";} if((c[j][4] & 0x0900) == 0x100) {o += "TDC, double, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";} if((c[j][4] & 0x0900) == 0x800) {o += "TDC, dbl-sep, "+(Math.pow(2,(c[j][4]>>4)&0xf))+"ch, ";} if((c[j][4] & 0x0200) == 0x200) o += "Hub, "; -- 2.43.0