Experimental Physics and Industrial Control System
I am a new user of EPICS (3.14.1) on a win32(Win2K) platform. I have
several client applications developed within the MSVC(6.0) IDE framework
that communicate using a similar framework. I am in the early stages of
converting these applications to use EPICS Channel Access. I have also
folded the example IOC program into an MFC application and hope to
incorporate some of the configuration and diagnostic tools that we have. I
am able to initialize the IOC and access the data using channel access
clients but in the MSVC debugger I get a warning: "Detected memory leaks!"
that appear to come from the call to iocInit(). Is there a proper way to
release these resources at shutdown. I would rather not rely on windows for
this task. Besides the necessary includes, this is the extent of the added
code in this application.
// IOC Initialization
dbLoadDatabase("c:/epics/ioc_test2/example.dbd",0,0);
registerRecordDeviceDriver(pdbbase);
dbLoadRecords("c:/epics/ioc_test2/db/dbExample1.db","user=AdministratorHost"
);
dbLoadRecords("c:/epics/ioc_test2/db/dbExample2.db","user=AdministratorHost,
no=1,scan=1 second");
dbLoadRecords("c:/epics/ioc_test2/db/dbExample2.db","user=AdministratorHost,
no=2,scan=2 second");
dbLoadRecords("c:/epics/ioc_test2/db/dbExample2.db","user=AdministratorHost,
no=3,scan=5 second");
dbLoadRecords("c:/epics/ioc_test2/db/dbSubExample.db","user=AdministratorHos
t");
iocInit();
epicsThreadSleep(.2);
I have some additional questions but will limit one subject per message.
Thank you for your time.
Randy Wells
15425, Missile and Flight Systems
Sandia National Labs
Ph: (505) 284-4849
Fax: (505) 844-1168
e-mail: [email protected]
- Navigate by Date:
- Prev:
OWL Newsletter - Training Products Greg Parks
- Next:
pdbbase usage and scope Wells, Randall
- 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:
OWL Newsletter - Training Products Greg Parks
- Next:
pdbbase usage and scope Wells, Randall
- 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