Hi Zongyang,
You are getting this error right after iocInit():
PV: prj:epid1:outpv scanAdd: I/O Intr not valid (no DSET)
That is a known bug: https://github.com/epics-modules/optics/issues/10
The sseq record (and probably the swait record) does not support SCAN=I/O Intr. I suggest you delete all of the lines like the following in fb_epid.db
(https://github.com/epics-modules/optics/blame/master/opticsApp/Db/fb_epid.db):
field(SCAN, "I/O Intr")
I don't understand how this database ever worked, but perhaps older versions of EPICS base did not catch this error.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 岳宗仰 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, September 8, 2021 2:34 AM
To: tech-talk at aps.anl.gov
Subject: problems about epid
Hello, all
I am learning to EPID record.
Following this guide, I meet some trouble
https://epics.anl.gov/bcda/synApps/optics/fb_epid/simulator.html
My iocInit shell as follow:
--------------
< envPaths
epicsEnvSet("IOC","iocepid_test")
epicsEnvSet("TOP","/home/yuezy/epid_test")
epicsEnvSet("EPICS_BASE","/opt/epics/base")
epicsEnvSet("SUPPORT","/opt/epics/support")
epicsEnvSet("OPTICS","/opt/epics/support/optics")
epicsEnvSet("STD","/opt/epics/support/std")
epicsEnvSet("asyn","/opt/epics/support/asyn")
epicsEnvSet("calc","/opt/epics/support/calc")
epicsEnvSet("SNCSEQ","/opt/epics/support/seq")
epicsEnvSet("busy","/opt/epics/support/busy")
epicsEnvSet("AUTOSAVE","/opt/epics/support/autosave")
epicsEnvSet("DEVIOCSTATS","/opt/epics/support/iocStats")
cd "/home/yuezy/epid_test"
## Register all support components
dbLoadDatabase "dbd/epid_test.dbd"
epid_test_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadRecords("db/fb_epid.db","P=prj:epid1,IN=prj:epid1:sim.VAL,OUT=prj:epid1:sim.D,MODE=PID,CALC=A,PERMIT1="prj:epid1:on.VAL",PERMIT2="",PERMIT3="",PERMIT4=""")
iocInit
Starting iocInit
############################################################################
## EPICS R7.0.3.1
## EPICS Base built Jul 21 2021
############################################################################
recDynLinkOut: waiting for CA context
PV: prj:epid1:outpv scanAdd: I/O Intr not valid (no DSET)
recDynLinkOut: got CA context
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=yuezy"
epics>
----------------
The Proportional and integral terms have values, but OVAL is always 0
My test result as follow
-------------------
[yuezy@localhost epid_test]$ caget prj:epid1.P
prj:epid1.P 9.99
[yuezy@localhost epid_test]$ caget prj:epid1.I
prj:epid1.I 100
[yuezy@localhost epid_test]$ caget prj:epid1.OVAL
prj:epid1.OVAL 0
-------------------
Any suggestions or comments would be appreciated.
Best regards!
Zongyang yue
- References:
- problems about epid 岳宗仰 via Tech-talk
- Navigate by Date:
- Prev:
European XFEL job ads: two Control Software Engineers (f/m/d) Steffen Hauf via Tech-talk
- Next:
Motor record support for Prevac SMCD14 stepper motor controller Ovsyannikov, Ruslan via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
problems about epid 岳宗仰 via Tech-talk
- Next:
European XFEL job ads: two Control Software Engineers (f/m/d) Steffen Hauf via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|