Versions Compared

Key

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

Table of Contents

Anchor
EPICS Extensions
EPICS Extensions

...

EPICS Extensions

...

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

ExtensionVersionExecutable
alh R1.2.351.0.0/usr/local/lcls/epics/extensions/alh/R1.2.351.0.0/bin/rhel6x86_64/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
caSnooper R2.1.2.30.1.0/usr/local/lcls/epics/extensions/caSnooper/R2.1.2.30.1.0/bin/rhel6x86_64/caSnooper
ChannelWatcher R3.0.1/usr/local/lcls/epics/extensions/ChannelWatcher/R3.0.1/bin/rhel6x86_64/ChannelWatcher
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

 

Anchor
alh
alh

alh

  1. Log into lcls-srv01 as physics with current 32-bit environment
  2. Run:

    Code Block
    languagebash
    themeMidnight
    [physics@lcls-srv01 ~ ]$ which alh
    /usr/local/lcls/epics/extensions/extensions-R3-14-12/bin/linux-x86/alh
    [physics@lcls-srv01]$ $TOOLS/script/alarmtree.py LASR -o /tmp/alarmtree_LASR_R3-14-12.json
  3. Log into lcls-srv01 as physics3 with default 64-bit environment
  4. Run:

    Code Block
    languagebash
    themeMidnight
    [physics3@lcls-srv01 ~]$ which alh
    /usr/local/lcls/epics/extensions/R0.5.0/bin/rhel6-x86_64/alh
    [physics3@lcls-srv01]$ $TOOLS/script/alarmtree.py LASR -o /tmp/alarmtree_LASR_R7.0.2-1.0.json
  5. Compare the two files and make sure that they match:

    Code Block
    languagebash
    themeMidnight
    diff -y -d /tmp/alarmtree_LASR_R3-14-12.json /tmp/alarmtree_LASR_R7.0.2-1.0.json
  6. Log into lcls-srv01 as physics3 and launch lclshome->All->Alarm Handler Tree and verify that the Alarm Tree Handler display comes up.

Anchor
alhCUD
alhCUD

alhCUD

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

...

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. 

Anchor
caCamcom
caCamcom

caCamcom

  1. Log into lcls-srv01 as physics3 (with a default 64-bit environment)
  2. Run (with permission from OPS):
Code Block
languagebash
themeMidnight
[physics3@lcls-srv01]$ source $EPICS_SETUP/fixed-epics-setup.bash
[physics3@lcls-srv01]$ source $EPICS_SETUP/epicsenv-7.0.2-1.0.bash
[physics3@lcls-srv01]$ $TOOLS/script/piopreset -t klys -b li22 -u 21

Anchor
caSnooper
caSnooper

caSnooper

  1. Log into lcls-daemon10 as laci
  2. Run:
Code Block
languagebash
themeMidnight
[laci@lcls-daemon10]$ source $EPICS_SETUP/fixed-epics-setup.bash
[laci@lcls-daemon10]$ source $EPICS_SETUP/epicsenv-7.0.2-1.0.bash
[laci@lcls-daemon10]$ $TOOLS/script/doSnoop64.bash 10 20
SIOC:SYS0:AL00:MODE            PRODUCTION
Checking connections for PVs from caSnooper output 
input from /tmp/caSnooper.out
===> WILL CHECK CONNECTIONS FOR CASNOOPER OUTPUT
Starting CaSnooper 2.1.2.3 (7-3-2013) at Aug 20 15:08:44
EPICS 3.15.5-1.1.1
Individual Name is CaSnoop.test
Internal PV names are not being published

CaSnooper terminating after 20.00 seconds [0.33 minutes]
  Data collected for 20.00 seconds [0.33 minutes]

Aug 20 15:09:04:
There were 17555 requests to check for PV existence for 11703 different PVs.
  Max(Hz):   5.00
  Mean(Hz):  0.07
  StDev(Hz): 0.11

PVs with top 10 requests:
   1 mccas0.slac.stanford.edu:46638 TRS1:AS2:LOST:PAVE.VAL            5.00
   2 lcls-daemon1.slac.stanford.edu:40376 FBCK:BSY0:1:STATE                 1.20
   3 lcls-daemon0.slac.stanford.edu:57669 KLYS:LI24:41:TRIG_DEVNAME         1.00
   4 lcls-daemon0.slac.stanford.edu:57669 KLYS:LI24:51:TRIG_DEVNAME         0.70
   5 lcls-daemon0.slac.stanford.edu:57669 TRIG:LI24:206:TREF                0.60
   6 lcls-daemon1.slac.stanford.edu:40207 @%m/%d/%Y                         0.60
   7 mcc.slac.stanford.edu:1193     TRS2:SLEDFBCK:COMM:FRESH          0.55
   8 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1850:KEQ                0.50
   9 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1950:KEQ                0.50
  10 lcls-srv03.slac.stanford.edu:47925 USEG:UND1:1750:KEQ                0.50
------------------------------------------------------------------------------------
===>  NOW CHECKING FOR PVS THAT ARE NOT CONNECTING...
1  TRS1:AS2:LOST:PAVE.VAL NOT connected
2  FBCK:BSY0:1:STATE NOT connected
3  KLYS:LI24:41:TRIG_DEVNAME NOT connected
4  KLYS:LI24:51:TRIG_DEVNAME NOT connected
5  TRIG:LI24:206:TREF NOT connected
6  @%m/%d/%Y NOT connected
7  TRS2:SLEDFBCK:COMM:FRESH NOT connected
8  USEG:UND1:1850:KEQ NOT connected
9  USEG:UND1:1950:KEQ NOT connected
10  USEG:UND1:1750:KEQ NOT connected
------------------------------------------------------------------------------------
TOTAL COUNT OF DISCONNECTED PVS IN SNOOPER SAMPLE: 10

 

Anchor
ChannelWatcher
ChannelWatcher

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

 

Anchor
CWget
CWget

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]

 

Anchor
CWput
CWput

CWput

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

...