Table of Contents |
---|
For detector experts instructions monitoring data see:
Data Monitoring tools for detector experts
Locations and Directories of main programs
Default location of all main programs is at e1039gat1 (ssh userName-AT-e1039gat1.xxxx.xxx)
EPICS:
/data2/epics-7.0.2.2/base-7.0.2.2/
1. Data inherited from EPICS and stored as tsv files
are under:
/data2/e1039_data/slowcontrol_data/
As of 10/23/2020 the following six groups are being saved (and also archived)
Chambers: spill_XXXXXXXX_ChamHv.tsv
Slow control Life scripts: spill_XXXXXXXX_ReadSlowCont.tsv
Acnet spill_XXXXXXXX_Acnet.tsv
Hall enviroment spill_XXXXXXXX_HallEnv.tsv
Hodoscopes spill_XXXXXXXXX_HodoHv.tsv
Dark Photon Hodoscopes spill_XXXXXXXX_DPhodo.tsv
2. Data Stored in Archiver binary format (see below under Archiver Data
ArchiverStorage )
EPICS -
ArchiverArchiver location:
/data2/epics-7.0.2.2/base-7.0.2.2/epics-extensions/archapplArchiver basics:
EPICS ALARMS:
Alarms are defined as deviations from thresholds provided by the system experts for each PV in a given system
The values are kept in the master spreadsheet file YYYY_MM_DD_vlist_master.ods under /data2/e1039/daq/slowcontrols/var_catalog.
These thresholds are checked whenever a PV is processed by the EPICS server. When this thresholds are not met , the EPICS server sends a broadcast message to each process that monitors the relevant PV. The ALH, MEDM, and CSS are used as a monitoring processes.
Detailed ALARM information page is here.
Archiver Basics
How to start or stop
cd /data2/epics-7.0.2.2/base-7.0.2.2/epics-extensions/archiver_appliance
export JAVA_HOME=/data2/epics-7.0.2.2/base-7.0.2.2/epics-extensions/DownloadsShared/jdk-14.0.2/
./prelim_setupArchiver.sh stop/start
How to launch browser:
in a terminal execute:
firefox http://localhost:17665/mgmt/ui/index.html &
That should bring up a window like this below (takes approximately 30 seconds from a remote connection ie LANL to FNAL):
How to check the status of PV or archive a PV?
1.Type (one PV per line) the name of your PV ie T1 and T2 in the example below.
2.Click on Check Status
3.If its not being archived (the case for new PV) click on the Archive button.
4. If its already archived and you would like to inspect its history click on quick chart
4.This should bring you to the history plot. You can choose the time frame of your choice up to one year.
Miscellaneous archiver features:
Plotting several PV's in the history viewer
ARCHIVER Data storage
The short term storage differs from medium/long term locations for the following reasons (Thanks to P. Reimer for pointing this out)
Primarily, if there are network problems, they may effect some links, but at least the Archiver will still be able to store whatever data EPICS has that is valid, regardless of whether or not /data2 is reachable.
If there are network problems, the Archiver will still have access to recent (which we can define) data to serve to which ever clients can reach it regardless of whether or not /data2 is reachable.
The Archiver will respond slightly faster as there is one network hop that it will not have to do when storing or reading data.
Short term (few hours): /home/epics/archiver/archappl/sts
Medium Term(~2 days) : /data2/e1039_data/slowcontrol_data/epics_archiver/mts
Long term: /data2/e1039_data/slowcontrol_data/epics_archiver/lts
CS-STUDIO
Used for default monitoring of dataOfficial documentation:
http://controlsystemstudio.org/
http://cs-studio.sourceforge.net/docbook/
CS-STUDIO
(location
This is not EPICS based but this were it was agreed to install
)/data2/epics-7.0.2.2/base-7.0.2.2/epics-extensions/cs-studio-4.5.9/
Instructions Launching CS-Studio and Monitoring Detectors
See:
Data Monitoring tools for detector experts
CS-STUDIO baseline projects
/data2/e1039/daq/slowcontrols/epics/css_projects/CSS/
from the above the following projects have been created:
Hall enviromentenvironment:
HD.plt HH.plt HT.plt P1.plt P.plt T1.plt
Drift Chambers:
D1_V.plt D1_I.plt D2_V.plt D2_I.plt D3_V.plt D3_I.plt
Prop tubes:
P4_V.plt and P4_i.plt
Hodoscopes:
The following sample projects have been created
LC_H3_EN_HV.plt
LC_CM.plt
X3XT_MV.plt
H3XT_DV.plt
Dark Photon Hodoscopes:
These is the most demanding of all detectors with 1192 PV's
We have created the following sample projects:
DP1_LT1_V.plt
DP1_LT1_CH_I.plt
and
DP1_LT1_CH1-10_I.plt which is a subset of DP1_LT1_CH_I.plt
Live script check:
Scalar DAQ:
COMMON Problems CS-studio -Archiver
1.I launch Cs-studio and I get the message that it could not connect to archiver:
R: try
2.
R:
3:
Other monitoring programs developed at e906 and still in use:
Drift Chambers:
https://e906-gat1.fnal.gov/hvmon_cham_exp/current/index.php