You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

SVT Monitoring

Log into 'clonioc4' (requires access through gateway).

ssh hallgw
ssh clonioc4
cd /usr/clas12/hps/dev/
source .setup-hps

Start GUIs

cd utils
./start_svt_guis.sh

Once the GUI's are up, the FEB's should be powered first, followed by the flange cards.

SVT IOC Control

 

MPOD IOC

Log into 'clonioc1' (requires access through gateway).

ssh clonioc1
cd /usr/clas12/hps/dev/
source .setup-hps
 
# Use procServMgr to control the IOC
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot -i iochvCaen [status|start|stop]
 
# Monitor output (to check if commands get through the IOC for example)
telnet localhost port # you can find the 'port' from the status command above
 
# while in monitor mode:
# If you type 'Cntrl-X' the IOC will stop and restart automatically
# You can type 'Cntr-]' to get telnet prompt (and e.g. 'quit' to exit form there).  

SVT Hybrid and DAQ IOC

Log into 'clonioc4' (requires access through gateway).

ssh clonioc4
cd /usr/clas12/hps/dev/
source .setup-hps
cd utils
 
# Run this as user='epics'
su epics #default passwd


# use this helper scripts to help control SVT DAQ IOCs
python ./control_svtdaq_procServ.py -h

# Examples:
 
# For all the below: add -t for testing mode to print the procServ command
 
# start/stop/status for all SVT DAQ IOCs:
python ./control_svtdaq_procServ.py -a status|start|stop 

# Data DPM "X" (X=0-13) IOC only:
python ./control_svt_dpm.py -a status|start|stop dpmX

# DTM "X" (0-1) IOC only:
python ./control_svt_dpm.py -a status|start|stop dtmX

# Bring up the IOC stdout for all or individual SVT DAQ IOCs
./start_svt_mon.py  -h [dpmX|dtmY|cntrldpm] # 'X'=0-13 and 'Y'=0-1 


If everything fails try to use the below standard procServMgr scripts:

procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop

 

If the IOC refuses to stop or start, the process might be stuck and you manually have to kill the IOCs before you restart.

If that fails, call Pelle.

Official IOC instructions

NOT USED FOR THE MOMENT

Access IOC from clonioc1:

telnet localhost 20006  # iochvCaen
telnet localhost 20007  # iocsvtDaq

Control IOC from clonioc1:

Ctrl+] to exit #(type quit in terminal)
Ctrl+x to reboot

ProcServer commands
The path has to be included to override the production default.  So it's a bit cumbersome, but you can put the lines in a local script.

procServMgr -p /usr/clas12/hps/dev/apps/iocBoot -i iocsvtDaq stop
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot -i iocsvtDaq start
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot -i iocsvtDaq status
# show all iocs
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status

 

 

Development tree on clonioc1:  

cd /usr/clas12/hps/dev
# contains:
#   apps/hvCaenApp, apps/iocBoot/iochvCaen
#   apps/svtDaqApp, apps/iocBoot/iocsvtDaq
#   drivers/LVMPOD
  • No labels