You should do the following instead of what the streamDevice manual says. Change your Makefile to add the following lines:
top_DBD += drvAsynIPPort.dbd
top_DBD += drvAsynSerialPort.dbd
top_DBD += drvVxi11.dbd
Those files are installed in asyn/dbd and they contain the the lines that streamDevice manual is asking for.
Note that your application may not need all 3 of these. If you will only communicate with TCP devices your don't need drvAsynSerialPort.dbd or drvVxi11.dbd. On the other hand it only adds a small memory overhead to keep them.
Mark
From: [email protected] [[email protected]] on behalf of lzf neu [[email protected]]
Sent: Wednesday, May 03, 2017 10:04 PM
To: [email protected]
Subject: Question about build StreamDevice application
hi,
In order to build an StreamDevice application,
I use the following commands to build softioc:
makeBaseApp.pl -t example top
makeBaseApp.pl -i -t example top
make
and add the following lines to /top/topApp/src/makefile:
top_LIBS += stream
top_LIBS += asyn
top_DBD += asyn.dbd
top_DBD += stream.dbd
according to the streamDevice manual page 3, the following three lines should be included in my xxxAppInclude.dbd:
registrar(drvAsynIPPortRegisterCommands)
registrar(drvAsynSerialPortRegisterCommands)
registrar(vxi11RegisterCommands)
It seems in my case I should find topInclude.dbd file to add the above three lines.
My problem is toplnclude.dbd does not exist before execute "make" command in the top directory of my softioc and "make clean" command can delete it from /top/topApp/src/O.Common folder.
I have no idea do I miss somthing or anyother method to cope with my problem.
Any help will be appreciated and thanks in advance !
Zhefu
- References:
- Question about build StreamDevice application lzf neu
- Navigate by Date:
- Prev:
RE: EPICS PV for data in Area Detector Mark Rivers
- Next:
Re: Archiver Appliance scripted alias record Shankar, Murali
- 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:
Question about build StreamDevice application lzf neu
- Next:
need to monitor the subArray record field NORD Lussignol Yves
- 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
|