From: hadaq@countinghouse Date: Thu, 28 Aug 2014 15:28:08 +0000 (+0200) Subject: status, mt X-Git-Tag: pre2018~28 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d1af6b9c9bd5c02a6a7973d7fcfc543b53054054;p=hadesdaq.git status, mt --- diff --git a/pion/config/nxyter/display_channels.sh b/pion/config/nxyter/display_channels.sh deleted file mode 100755 index ea95d8f..0000000 --- a/pion/config/nxyter/display_channels.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -export PATH=/home/rich/TRB/trbsoft/trbnettools/binlocal:${PATH} - -# first disable test_trigger_mode to allow reading -#REG20=$(trb_i2c r 0x3800 0x08 0x20 | awk '{print $2}') -#trb_i2c w 0x3800 0x08 0x20 0x00 - -echo " 01234567" -#echo " --------" -for REG in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -do - -VALUE=$(trb_i2c r 0x3800 0x08 $REG | awk '{print $2}' | base) -CHANNEL=$((8*$REG)) -printf "%03d: " $CHANNEL - -for i in 0 1 2 3 4 5 6 7 -do - BIT=$(($VALUE>>$i&1)) - if [ $BIT -eq 0 ] - then - echo -n "*" - else - echo -n "_" - fi -done -echo -done - -# Restore Register 20 -#trb_i2c w 0x3800 0x08 0x20 $REG20