diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
commit | e1265fa32837f457ee2c2fa259d12c9545af4bbf (patch) | |
tree | 64b8d5f1c81c14f019047b0cb00cb77c2dcecf55 /tests/heb/DataTaking.sh | |
parent | a37beb44d59cca329d0d9345c21505af81030688 (diff) | |
download | ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.gz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.bz2 ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.xz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.zip |
First stand-alone ipecamera implementation
Diffstat (limited to 'tests/heb/DataTaking.sh')
-rwxr-xr-x | tests/heb/DataTaking.sh | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/tests/heb/DataTaking.sh b/tests/heb/DataTaking.sh deleted file mode 100755 index b6046d7..0000000 --- a/tests/heb/DataTaking.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -#Channel 1 --> 05 -#Channel 2 --> 0B -#Channel 1&2 --> 0F -#Channel 3 --> 13 -#Channel 4 --> 23 -#Channel 3&4 --> 33 -#ALL --> 3F - -#rm *.out -pci -r dma1 --multipacket -o /dev/null - -echo "Start DMA ..... " -#pci --start-dma dma1 -sleep 0.2 - -echo "Data Reset ... " -pci -w 0x9040 000003f1 -sleep 0.1 -pci -w 0x9040 000003f0 - -sleep 0.1 -#echo "Pilot bunch emulator ..... " -#pci -w 0x9040 400003f0 -sleep 0.2 -pci -w 0x9040 03f0 -#pci -r 0x9000 -s 40 -#sleep 0.2 -echo "Start data pci. ..... " -pci -w 0x9040 00bf0 - -sleep 2 - -echo "Stop data acquis...... " -pci -w 0x9040 003f0 -pci -r 0x9000 -s 40 -sleep 0.1 -echo "Enable data transfer.... " -pci -w 0x9040 007f0 -exit -sleep 2 -pci -r dma1 -o run_num_$1.out --multipacket -sleep 2 - -pci -w 0x9040 003f0 -#echo "Status ... " - - - -pci -r 0x9000 -s 40 - - status=`pci -r 0x9050 -s 1 | awk '{print $2$3$4}'` - if [ "$status" != "85000021" ]; then - echo "--------------------------------->>>> ERROR! ... " - error=1 - exit - else - echo " Status 1 -> OK " - fi - - status=`pci -r 0x9000 -s 1 | awk '{print $2$3$4}'` - if [ "$status" != "01000021" ]; then - echo "--------------------------------->>>> ERROR! ... " - error=1 - exit - else - echo " Status 1 Readout -> OK " - fi - -status=`pci -r 0x9008 -s 1 | awk '{print $2$3$4}'` - if [ "$status" != "01000021" ]; then - echo "--------------------------------->>>> ERROR! ... " - error=1 - exit - else - echo " Status 2 Readout -> OK " - fi - -status=`pci -r 0x9010 -s 1 | awk '{print $2$3$4}'` - if [ "$status" != "01000021" ]; then - echo "--------------------------------->>>> ERROR! ... " - error=1 - exit - else - echo " Status 3 Readout -> OK " - fi - -status=`pci -r 0x9018 -s 1 | awk '{print $2$3$4}'` - if [ "$status" != "01000021" ]; then - echo "--------------------------------->>>> ERROR! ... " - error=1 - exit - else - echo " Status 4 Readout -> OK " - fi |