Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Add caPutLog module to BPMApp
Browse files Browse the repository at this point in the history
  • Loading branch information
melissa-aguiar committed Aug 12, 2022
1 parent 1ff1eb8 commit 4eaccd0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BPMApp/Db/accessSecurityFile.acf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ASG(DEFAULT){
RULE(1,READ)
RULE(1,WRITE,TRAPWRITE)
}
1 change: 1 addition & 0 deletions BPMApp/src/BPMInclude.dbd
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ include "busySupport.dbd"
include "asSupport.dbd"
include "FFTRecords.dbd"
include "BPMSupport.dbd"
include "caPutLog.dbd"
3 changes: 3 additions & 0 deletions BPMApp/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ BPM_DBD += base.dbd
BPM_DBD += asyn.dbd
BPM_DBD += devIocStats.dbd
BPM_DBD += FFTRecords.dbd
BPM_DBD += caPutLog.dbd
BPM_DBD += asSupport.dbd

# BPM_registerRecordDeviceDriver.cpp derives from BPM.dbd
BPM_SRCS += BPM_registerRecordDeviceDriver.cpp
Expand All @@ -43,6 +45,7 @@ BPM_LIBS += asyn
BPM_LIBS += autosave
BPM_LIBS += FFTRecords
BPM_LIBS += devIocStats
BPM_LIBS += caPutLog

# Link to the EPICS Base libraries
BPM_LIBS += $(EPICS_BASE_IOC_LIBS)
Expand Down
1 change: 1 addition & 0 deletions configure/RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ BUSY=$(SUPPORT)/busy-R1-7-1
FFT=FFTRecordsApp
AREA_DETECTOR=$(SUPPORT)/areaDetector-R3-6
DEVIOCSTATS=$(SUPPORT)/iocStats-3-1-15
CAPUTLOG=$(SUPPORT)/caPutLog-R4.0
ADCORE=$(AREA_DETECTOR)/ADCore
## Set our custom variable so Area Detector path remains the same
## for synApps_5_7 and synApps_5_8
Expand Down
6 changes: 6 additions & 0 deletions iocBoot/iocBPM/stBPM250M.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ epicsEnvSet("LOCATION","$(LOCATION=DIGS)")
epicsEnvSet("STARTUP","$(TOP)")
epicsEnvSet("ST_CMD","stBPM250.cmd")

epicsEnvSet("EPICS_IOC_CAPUTLOG_INET", "10.0.38.59")
epicsEnvSet("EPICS_IOC_CAPUTLOG_PORT", "7012")

< BPM.config

## Register all support components
Expand All @@ -34,6 +37,8 @@ dbLoadRecords("$(ASYN)/db/asynRecord.db","P=${P}, R=${R}asyn,PORT=$(PORT),ADDR=0
dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db","IOC=${P}${R}Stats")
dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminScanMon.db","IOC=${P}${R}Stats")

asSetFilename("/opt/epics/ioc/bpm-epics-ioc/BPMApp/Db/accessSecurityFile.acf")

< triggerBPM.cmd
< fmc250m_4ch.cmd
< waveformPlugins.cmd
Expand All @@ -57,6 +62,7 @@ var dbThreadRealtimeLock 0
iocInit()

< initBPMCommands
caPutLogInit "$(EPICS_IOC_CAPUTLOG_INET):$(EPICS_IOC_CAPUTLOG_PORT)" 2

# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=${P}, R=${R}")
Expand Down

0 comments on commit 4eaccd0

Please sign in to comment.