Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

THESE INSTRUCTIONS MAY BE OUTDATED.

TALK TO PELLE IF YOU NEED EXACT WORKING COMMANDS.

 

SVT Monitoring

...

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

Code Block
languagebash
ssh hallgw
ssh clonioc1hpsrun@clonioc1
hps_epics dev # pull up the screens that are relevant
 

SVT IOC Control

 

MPOD IOC

Start GUIsLog into 'clonioc1' (requires access through gateway).

Code Block
languagebash
source /home/phansson/setup_hps_epicsssh clonioc1
cd /usr/clas12/hps/dev/
source .setup-hps
cd apps/medm
medm -x svtFebMain.adl&
medm -x svtFlangeMain.adl&

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

SVT Hybrid Power and DAQ Monitoring 


 
# 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 'ppa-pc91245' (requires access through the gateway) and issue the following commands in a terminal to start the SVT IOC: Log into 'clonioc4' (requires access through gateway).

Code Block
languagebash
ssh tracker@ppa-pc91245 epics@clonioc4 #default passw
cd /usr/clas12/u1hps/epicsdev/svt-epics
source setup_epics.csh
cd svt-daq-epics/
python start_dpm.py

The hybrid GUI's are then started as follows:

Code Block
languagebash
cd /u1/epics/svt-medm
medm -x svtTemp.adl&
medm -x svtHybrid.adl&
medm -x svtHybSync.adl&
medm -x svtDpmLinkStatus.adl&
.setup-hps

# Use procServMgr to control the IOC
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot [-i IOC_NAME] [status|start|stop]

# Examples:
  
# start/stop/status for all SVT DAQ IOCs:
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop

# Control DPMIOC only:
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop -i iocsvtDaq status/start/stop

# Data DPM "X" (X=0-13) IOC only:
procServMgr -p /usr/clas12/hps/dev/apps/iocBoot status/start/stop -i iocsvtDaqDpmX status/start/stop


# Bring up the IOC stdout for all or individual SVT DAQ IOCs
cd /usr/clas12/hps/dev/apps/svtDaqApp/scripts
./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:

Code Block
languagebash
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 MOMENTIOC Information

Access IOC from clonioc1:

Code Block
languagebash
telnet localhost 20006  # iochvCaen
telnet localhost 20007  # iocsvtDaq

...

Code Block
languagebash
cd /usr/clas12/hps/dev
# contains:
#   apps/hvCaenApp, apps/iocBoot/iochvCaen
#   apps/svtDaqApp, apps/iocBoot/iocsvtDaq
#   drivers/LVMPOD

 

MEDM Information

MEDM screens on clonioc1:

 

Code Block
languagebash
# medm screens
cd apps/medm   # contains generated links to all adl's
medm <gui>

# run dev menu
hps_epics dev