forked from epics-modules/mrfioc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1910fc2
commit 39a74dd
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ html/ | |
rtf | ||
*.local | ||
|
||
envPaths | ||
.project | ||
.cproject | ||
.settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TOP = ../.. | ||
include $(TOP)/configure/CONFIG | ||
ARCH = linux-x86_64 | ||
TARGETS = envPaths | ||
include $(TOP)/configure/RULES.ioc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!../../bin/linux-x86_64-debug/mrf | ||
|
||
## Register all support components | ||
dbLoadDatabase("../../dbd/mrf.dbd") | ||
mrf_registerRecordDeviceDriver(pdbbase) | ||
|
||
epicsEnvSet("ENGINEER","mdavidsaver x3698") | ||
epicsEnvSet("LOCATION","Blg 902 Rm 28") | ||
|
||
epicsEnvSet("EPICS_CA_MAX_ARRAY_BYTES","1000000") | ||
|
||
fribEvrSetupPCI("EVR", "slot=2-1") | ||
|
||
dbLoadRecords("../../db/frib-fgpdb-evr.db","SYS=TST, D=evr:1, EVR=EVR") | ||
|
||
#dbLoadRecords("db/iocAdminSoft.db", "IOC=mrftest") | ||
|
||
# Auto save/restore | ||
save_restoreDebug(2) | ||
#dbLoadRecords("db/save_restoreStatus.db", "P=mrftest:") | ||
#save_restoreSet_status_prefix("mrftest:") | ||
|
||
set_savefile_path("${PWD}/as","/save") | ||
set_requestfile_path("${PWD}/as","/req") | ||
system("install -d ${PWD}/as/req") | ||
system("install -d ${PWD}/as/save") | ||
|
||
set_pass0_restoreFile("mrf_settings.sav") | ||
set_pass0_restoreFile("mrf_values.sav") | ||
set_pass1_restoreFile("mrf_values.sav") | ||
set_pass1_restoreFile("mrf_waveforms.sav") | ||
|
||
iocInit() | ||
|
||
makeAutosaveFileFromDbInfo("as/req/mrf_settings.req", "autosaveFields_pass0") | ||
makeAutosaveFileFromDbInfo("as/req/mrf_values.req", "autosaveFields") | ||
makeAutosaveFileFromDbInfo("as/req/mrf_waveforms.req", "autosaveFields_pass1") | ||
|
||
#create_monitor_set("mrf_settings.req", 5 , "") | ||
#create_monitor_set("mrf_values.req", 5 , "") | ||
#create_monitor_set("mrf_waveforms.req", 30 , "") |