Experimental Physics and Industrial Control System
|
Subject: |
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH |
From: |
Ralph Lange via Tech-talk <[email protected]> |
To: |
EPICS Tech Talk <[email protected]> |
Date: |
Tue, 21 Jan 2020 09:45:10 +0100 |
> > The scalcout record comes from the synApps "calc" module. When you
> > build streamDevice your configure/RELEASE file needs to point to CALC
> > if you want to use that record. The details vary between releases of
> > streamDevice. When you build your application you also need to include
> > CALC if you enabled it when building streamDevice.
>
> That'll the the reason then. I have calc installed and built StreamDevice
> with it, but not the application. Still, it feels a bit strange that
> everything appears to continue to run after this error, just the path
> isn't set during initialisation.
Hm, I tried to fix this now by adding CALC to the application (both in the
configure/RELEASE and in the environment), but the record it creates is
still empty. No error messages to be seen during the build, though. What
do I have to check to find out where this is not being picked up properly?
You will have to set CALC to an absolute path pointing to your installation of the calc module in your application's configure/RELEASE file (don't use the environment), and as well add the dbd snippet that calc generates (calcSupport.dbd, including the definition for the scalcout record type) as the name of the library that calc generates (calc, containing the code for the scalcout record type) to the appropriate definitions in your application's Makefile (where the IOC binary is created).
Your best check is to look at the dbd file and the IOC binary your generate in your application: Does the dbd contain (or include) the definition of the scalcout record? Does the shared library list of the binary (output of the ldd command) contain libcalc? If both answers are yes, your IOC looks good.
Cheers, ~Ralph
- Replies:
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- References:
- StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Mark Rivers via Tech-talk
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Mark Rivers via Tech-talk
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Navigate by Date:
- Prev:
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Next:
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn 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: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Next:
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn 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, 21 Jan 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|