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

Compare with Current View Page History

« Previous Version 8 Next »

The following describes how to test the individual EPICS Extensions applications after deploying them to LCLS production

EPICS Extensions test procedures

The following is a list of EPICS applications bundled as EPICS Extensions R.0.5.0:

ExtensionVersionExecutableUsage
alh R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alhlcls-daemon2:/etc/init.d/st.alh-*
alh_DB R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alh_DB 
alh_printer R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/alh_printer 
caCamcom R2.0.0/usr/local/lcls/epics/extensions/Camcom/R2.0.0/bin/rhel6x86_64/caCamcom$TOOLS/script/piopreset
caSnooper R2.1.2.30.1.0/usr/local/lcls/epics/extensions/caSnooper/R2.1.2.30.1.0/bin/rhel6x86_64/caSnooper$TOOLS/script/doSnoop.bash
ChannelWatcher R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/ChannelWatcherlcls-daemon2:/etc/init.d/st.cw*
CWget R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/CWget 
CWput R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/CWput 
edm R1.12.105B1.2.0/usr/local/lcls/epics/extensions/edm/R1.12.105B1.2.0/bin/rhel6x86_64/edm 
eget R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/eget 
ezcaVarArrayTest R3.7.2/usr/local/lcls/epics/extensions/labca/R3.7.2/bin/rhel6x86_64/ezcaVarArrayTest 
flatdb R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/flatdb 
fwdCliS R1.2.6/usr/local/lcls/epics/extensions/fwdCliS/R1.2.6/bin/rhel6x86_64/fwdCliS 
gateway R2.0.6.01.0.1/usr/local/lcls/epics/extensions/gateway/R2.0.6.01.0.1/bin/rhel6x86_64/gateway 
iocLogMsgServer R1.6.0/usr/local/lcls/epics/extensions/iocLogMsgServer/R1.6.0/bin/rhel6x86_64/iocLogMsgServer 
msgReceiver R1.6.0/usr/local/lcls/epics/extensions/iocLogMsgServer/R1.6.0/bin/rhel6x86_64/msgReceiver 
parsecasw R1.0.3.00.1.0/usr/local/lcls/epics/extensions/parsecasw/R1.0.3.00.1.0/bin/rhel6x86_64/parsecasw 
probe R1.1.8.00.1.0/usr/local/lcls/epics/extensions/probe/R1.1.8.00.1.0/bin/rhel6x86_64/probe 
procServ R2.7.01.1.0/usr/local/lcls/epics/extensions/procServ/R2.7.01.1.0/bin/rhel6x86_64/procServ 
pvgetx R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/pvgetx 
pvputx R0.0.00.0.1/usr/local/lcls/epics/extensions/eget/R0.0.00.0.1/bin/rhel6x86_64/pvputx 
StripTool R2.5.18.01.0.0/usr/local/lcls/epics/extensions/StripTool/R2.5.18.01.0.0/bin/rhel6x86_64/StripTool 
vdct R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/vdct 
VisualDCT.jar R2.7.00.1.0/usr/local/lcls/epics/extensions/VisualDCT/R2.7.00.1.0/bin/rhel6x86_64/VisualDCT.jar 

 

alh

alhCUD

The PPS/BCS CUD reads a text file that alhCUD emits

alhCUD is looking at PPS PVs and waiting for them to change state, then writes to that text file.

So I changed the PPS access state of the LCLS Injector Vault, and watched an instance of the PPS/BCS CUD to see if the state change showed up on the CUD.

 

caCamcom

(with permission from OPS)

piopreset -t klys -b li22 -u 21

caSnooper

  1. Log into lcls-daemon10 as laci
  2. source $EPICS_SETUP/fixed-epics-env.bash
  3. source $EPICS_SETUP/epicsenv-7.0.2-1.0.bash
  4. $TOOLS/script/doSnoop.bash 10 20

ChannelWatcher

  1.     Reserve MATLAB PVs (lclshome->All->Matlab GUIs->Matlab PVs->Matlab Support PVs, choose unreserved ones marked “spare”)
  2.     Create list of test PVs from step (1), one per line
  3.     Open Message Log Viewer and filter for “Facility like “Channel”
  4.     Run: ChannelWatcher -f <filename from step (2)>
  5.     Verify that ChannelWatcher logs a message connecting to the PVs in the list from step (2)
  6.     Change the value(s) of the PVs in the list using caput
  7.     Verify that ChannelWatcher logs messages pertaining to each PV value change

 

CWget

  1. Using reserved MATLAB PVs from ChannelWatcher test, run:
    CWget <file with list of MATLAB PVs, one per line>
  2. Verify with caget that the values returned match the actual current values of the PVs.

CWget [filename] > [output_file]

 

CWput

  1. Using reserved MATLAB PVs from ChannelWatcher test, create file with one PV per line and

CWput [output_file_changes]

edm

eget

  1. Log in as laci to lcls-daemon2
  2. Check the output of v4_service_monitor cronjob and verify that eget ran successfully:
    cat /tmp/v4_service_monitor.log
  3. eget -ts ds -a tag=LCLS.BSA.rootnames
  4. eget -ts ds -a name=KLYS:%:KPHR

fwdCliS

iocLogMsgServer

  1. Change /etc/init.d/st.iocLogMsgServer on lcls-daemon2 to point at /usr/local/lcls/tools/iocLogMsgServer/script/st.iocLogMsgServer64
  2. Change /etc/init.d/st.fwdCliS on lcls-daemon2 to point at /usr/local/lcls/tools/fwdCliS/script/st.fwdCliS64
  3. Restart /etc/init.d/st.iocLogMsgServer on lcls-daemon2
  4. Restart /etc/init.d/st.fwdCliS on lcls-daemon2
  5. Open lclshome->All->Message Log... and verify that messages are coming through
  6. Verify that messages are being added to the Oracle database

gateway

probe

StripTool

 

  • No labels