7 # ------------------------------------------------------------------------------------------
9 # Example script to run JDataFilter and JDOMSimulator(s)
11 # ------------------------------------------------------------------------------------------
14 if [ -z $JPP_DIR ]; then
15 echo "Variable JPP_DIR undefined."
20 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
23 if ( do_usage $* ); then
46 # re-start ligier for command and logger messages
58 process dfilter $HOST1 ssh \$HOST\$ "JDataFilter -H \$SERVER\$ -M \$LOGGER\$ -d $DEBUG &";
62 event ev_init { RC_CMD %<ev_init.txt>%from me%<ev_init.txt>% }
63 event ev_configure { RC_DFLTR datawriter=localhost; }
65 event ev_start { RC_CMD $RUN}
69 event ev_pause { RC_CMD }
70 event ev_stop { RC_CMD }
71 event ev_reset { RC_CMD }
72 event ev_off { RC_CMD }
76 JDAQDriver -H $SERVER -M $LOGGER -d $DEBUG -f driver.txt -c