EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: field transform is not found
From: "Tran, Phi Dung via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 19 Oct 2023 21:38:06 +0000
Hello,

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
Error: syntax error
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,
P. Tran


Replies:
RE: field transform is not found Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: Waveform data in a data storage system Žiga Oven 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  <20232024 
Navigate by Thread:
Prev: Re: Opening Multiple Phoebus Instances Kasemir, Kay via Tech-talk
Next: RE: field transform is not found Mark Rivers 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  <20232024 
ANJ, 19 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·