Skip to content
Snippets Groups Projects
Commit e74aca8d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Ligier setup

parent a7a6d165
No related branches found
No related tags found
No related merge requests found
SHELL := /bin/bash
SESSION_NAME := km3mon
DAQ_LIGIER := 192.168.0.110
STANDARD_TAGS := "IO_EVT, IO_SUM, IO_TSL, IO_TSL0, IO_TSL1, IO_TSL2, IO_TSSN, MSG, IO_MONIT"
default: start
......@@ -8,7 +10,14 @@ start:
@tmux new-session -d -s ${SESSION_NAME} \
|| (echo Please run \"make stop\" to close the current session.; exit 1)
@tmux rename-window -t ${SESSION_NAME}:1 ligier
@tmux send-keys -t km3mon:ligier.1 "JLigier -d2 -P 5553" Enter
@tmux send-keys -t ${SESSION_NAME}:ligier.1 \
"JLigier -d2 -P 5553" Enter
@sleep 1 # wait a second for JLigier
@tmux split-window -v -t ${SESSION_NAME}:ligier
@tmux send-keys -t ${SESSION_NAME}:ligier.2 \
"ligiermirror -m \"${STANDARD_TAGS}\" ${DAQ_LIGIER}" Enter
stop:
tmux kill-session -t ${SESSION_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment