#!/bin/csh
#
# captsignal.csh --> captures signal strength to stdout
#
# syntax:  ./runsignal.csh  >> DATA_FILE_NAME

loop:

  date +"%Y/%m/%d %H:%M:%S"

  ./getsignal_eastbase.exp > getsignal3.log
  grep "004096" getsignal3.log | head -1 | tail -1
  grep "004096" getsignal3.log | head -1 | tail -1
  grep "004096" getsignal3.log | head -1 | tail -1
  grep "004096" getsignal3.log | head -1 | tail -1
  grep "004096" getsignal3.log | head -1 | tail -1

  sleep 2

  goto loop

