Experimental Physics and Industrial Control System
|
Normally you get support fort he transform record by including the EPICS “calc” module dbd and lib files in your IOC app Makefile.
myApp_DBD += calcSupport.dbd
myApp_LIBS += calc
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Tran, Phi Dung via Tech-talk
Sent: Thursday, October 19, 2023 4:38 PM
To: tech-talk at aps.anl.gov
Subject: field transform is not found
I am using transform in my field below, and got the message from st.cmd.
##################################
record(transform, "$(P)-TILT") {
field(DESC, "tilt (tild
▲Θ mrad, us & ds mtrs, ")
field(INPB, "$(P){upstream}RADIUS.VAL NPP NMS")
field(CLCC, "a*b/1000") # r *
▲Θ/1000 =▲s
field(CLCF, "c") # r *
▲Θ/1000 =▲s
field(OUTC, "$(INBOARDMTR).VAL PP MS ") # Output to upstream inboard and outboard, default is CA, for clarity for different IOC
field(OUTF, "$(OUTBOARDMTR).VAL PP MS") # Output to upstream inboard and outboard, default is CA, for clarity for different IOC
#field(OUTC, "$(P){MoveUpstream} PP ") # Output to upstream inboard and outboard, default is CA, for clarity for different IOC
#get downstream radius, Tilt in -▲Θ
direction
field(INPD, "$(P){downstream}RADIUS.VAL NPP MS")
field(CLCE, "-a*d/1000") # r * (-▲Θ)/1000
=▲s
field(OUTE, "$(DOWNSTREAMMTR).VAL PP MS") # Output to upstream inboard and outboard, default is CA, for clarity for different IOC
}
Error output ##########################################
Can't create record "XF:19IDC-ES-GO{Tilt}Mtr-TILT" of type "transform"
Error at or before ")" in file "/epics/iocs/virtMotorsMD3/db/galil0_pitch.db" line 112
dbLoadRecords: failed to load '/epics/iocs/virtMotorsMD3/db/galil0_pitch.db'
Makefile configuration ##############################
in my Makefile under src directory I have these statements,
virtMotorsMD3_DBD += devIocStats.dbd transformRecord.dbd
virtMotorsMD3_LIBS += motor softMotor
virtMotorsMD3_LIBS += devIocStats
virtMotorsMD3_LIBS += transforms10 userTransform userTransforms10 userTransforms10more userTransforms20
#############
Can you give me suggestions what to do next,
|
- References:
- field transform is not found Tran, Phi Dung via Tech-talk
- Navigate by Date:
- Prev:
modbus reading arrays of floats Pearson, Matthew via Tech-talk
- Next:
Re: modbus reading arrays of floats Jemian, Pete R. 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:
field transform is not found Tran, Phi Dung via Tech-talk
- Next:
modbus reading arrays of floats Pearson, Matthew 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
|
ANJ, 19 Oct 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|