Experimental Physics and Industrial Control System
|
Hi Mark,
I knew it. It worked as you said. Thank you so much.
Regards, Liang
|
网易邮件中心
|
邮箱:l123173 at 163.com
|
---- Replied Message ----
Correction,
scaler16m.db actually requires 5 macro arguments:
$(P) The prefix
$(S) The name for this scaler instance
$(FREQ) The frequency of the clock input
$(DTYP) The device type.
$(OUT) The link specification for the hardware connection
Mark
> But still failed after I added the command
> "dbLoadRecords("$(STD)/stdApp/Db/scaler16m.db", "P=$(PREFIX)")"
> in st.cmd(common.iocsh)
scaler16m.db requires 2 macro arguments, $(P) and $(S). You did not pass $(S). You should change it to something like this:
dbLoadRecords("$(STD)/stdApp/Db/scaler16m.db", "P=$(PREFIX), S=scaler1")
I have a simple question about pv was all disconnected.
I run the xxx ioc, run the opi. But all pv in scaler16m.opi was disconnect.(the ioc did work well)
I typed dbl command, they were not listed, such as xxx:scaler1.S1.
I think the reason was missing some dbLoadRecord of std.
But still failed after I added the command "dbLoadRecords("$(STD)/stdApp/Db/scaler16m.db", "P=$(PREFIX)")" in st.cmd(common.iocsh)
Warning: '/usr/local/epics/synApps/support/std-R3-6-2/stdApp/Db/scaler16m.db' line 9 has undefined macros
Error: Bad character '$' in Record/Alias name "xxx:$(S,undefined)_calcEnable"
Error at or before ")" in file "/usr/local/epics/synApps/support/std-R3-6-2/stdApp/Db/scaler16m.db" line 9
Error: syntax error
dbLoadRecords: failed to load '/usr/local/epics/synApps/support/std-R3-6-2/stdApp/Db/scaler16m.db'
Could someone tell me what's wrong with me?
I use base 7.0.5,synapps 6.2, opi was control system studio.
- References:
- added the pv in synapps 网易邮件中心 via Tech-talk
- Re: added the pv in synapps Mark Rivers via Tech-talk
- RE: added the pv in synapps Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
RE: StreamDevice return state error Pearson, Matthew via Tech-talk
- Next:
Re: StreamDevice return state error Zimoch Dirk (PSI) 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:
RE: added the pv in synapps Mark Rivers via Tech-talk
- Next:
StreamDevice return state error Barrett (US), Patrick E 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, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|