> dbLoadDatabase "dbd/boostik.dbd"
> Declaration of recordtype(scalcout) preceeded full definition.
> Error at or before "}" in file "dbd/boostik.dbd" line 16095
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.
Mark
________________________________
From: Gerrit Kühn <[email protected]>
Sent: Friday, January 17, 2020 7:48 AM
To: Mark Rivers
Cc: tech-talk
Subject: Re: StreamDevice not parsing STREAM_PROTOCOL_PATH
Am Fri, 17 Jan 2020 13:12:35 +0000
schrieb Mark Rivers <[email protected]>:
> > The built ioc complains about not finding the protocol file, but it
> > only looks in "."
> Are you seeing the following error message? You should see this if the
> protocol path is really not set.
Ah, this finally made me look into the right place:
There was another error message always hidden outside my terminal (and not
coloured red ;-):
---
## Register all support components
dbLoadDatabase "dbd/boostik.dbd"
Declaration of recordtype(scalcout) preceeded full definition.
Error at or before "}" in file "dbd/boostik.dbd" line 16095
boostik_registerRecordDeviceDriver pdbbase
registerRecordDeviceDriver failed sel
---
Looks like this prevented the initialization from happening. The lines it
complains about are
---
recordtype(scalcout) {
}
device(scalcout, INST_IO, devscalcoutStream, "stream")
---
This was created by makeBaseApp. Looks like there is something missing in
the recordtype definition. What should be there?
For testing, I just commented out these lines, and now the PROTOCOL_PATH
gets parsed correctly and everything looks nice.
cu
Gerrit
- 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
- Navigate by Date:
- Prev:
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Next:
RE: PicoScope support? 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
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
|