#!/bin/bash TRIGGER="" # If you have a CAMAC trigger -> "--camac-trigger" PORT=2701 # This is the default port number. INTERVAL=10 # Seconds between updates. export PATH=$PATH:/usr/opt/daq/bin cd ~/readout killall -9 controlpush # Kill off old pushers. killall -9 Readout # Kill old readouts. controlpush --port=${PORT} --interval=${INTERVAL} channel.txt & # start pushing channels... Readout --port=${PORT} $TRIGGER # start the readout program. killall -9 controlpush # kill off my pusher... killall -9 Readout