#!/bin/sh #__USAGE #%C # Run hpf data acquisition with this command # #QnX node number of HPF computer HPFNode=5 #Name of NeXT machine on which remote processing occurs TGTNeXT=plurabelle # start memo, logging in hpf.log memo -e hpf.log -y -v & # start command programs cmdctrl -mv -c0 & hpfsrvr -v -c0 & # start commands on the data ring hpfcol -v -c0 & lgr -v -c0 `lfctr -O` & bfr -v -c0 & # buffer clients associated with instrument control and data logging (once only) hpfalgo -v -c0 -C5 -b${HPFNode} -i1 -m -r21 & (:; pipeext -v -b${HPFNode} -i1 -c0 | rsh ${TGTNeXT} '~hpf/scripts/bin/dataReceiver > /dev/null') >> pipe.err 2>&1 & # run the display program off of the buffer scrpaint hpf hpfdisp -v -b${HPFNode} -i1 -c0 & hpfclt -v -c0 -C5 # note that the last process does not background # users interact with clt and quit manually # after that, these commands end the data session memo -k0 cls