EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: sequencer + streamdevice
From: Christoph Burandt <[email protected]>
To: [email protected]
Date: Mon, 28 Oct 2013 14:07:10 +0100
Hello,

I'm having trouble setting up an IOC which provides both, the sequencer and the streamdevice support at the same time.

Using "makeBaseApp -t ioc" allowed me to setup basic IOCs that support either the sequencer or the StreamDevice support. I therefore modified the files
configure/RELEASE
iocApp/src/Makefile
accordingly.

I checked that the resulting IOCs are ok by typing "help" in the IOC shell -> either the "seq" or the "drvAsynIPPortConfigure" will be part of the list of supported commands. I could also execute the state machine from "makeBaseApp -t example".

If I try to write a Makefile which combines both features, "make" does not complain (as it seems to me). But "help" in the ioc shell tells me that "seq" is not a known command.

Can anyone explain what goes wrong here?

(The iocApp/src/Makefile of the "combined" IOC is attached)

Greetings,
Christoph

--
M.Sc. Phys. Christoph Burandt
Technische Universität Darmstadt
TOP=../..

include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# Build the IOC support library

LIBRARY_IOC += streamSupport

# Link locally-provided code into the support library,
# rather than directly into the IOC application.

streamSupport_LIBS += $(EPICS_BASE_IOC_LIBS)

#=============================
# Build the IOC application

PROD_IOC = stream
# stream.dbd will be created and installed
DBD += stream.dbd

# stream.dbd will be made up from these files:
stream_DBD += base.dbd

# stream_registerRecordDeviceDriver.cpp derives from stream.dbd
stream_SRCS += stream_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
stream_SRCS_DEFAULT += streamMain.cpp
stream_SRCS_vxWorks += -nil-

# Add support from base/src/vxWorks if needed
#stream_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

# Link in the code from the support library
stream_LIBS += streamSupport

# NOTE: To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file

ifneq ($(SNCSEQ),)
    # Build sncExample into streamSupport
    sncExample_SNCFLAGS += +r
    stream_DBD += sncExample.dbd
    streamSupport_SRCS += sncExample.stt
    streamSupport_LIBS += seq pv
    stream_LIBS += seq pv

    # Build sncProgram as a standalone program
    PROD_HOST += sncProgram
    sncProgram_SNCFLAGS += +m
    sncProgram_SRCS += sncProgram.st
    sncProgram_LIBS += seq pv
    sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS)
endif

# Finally link to the EPICS Base libraries
stream_LIBS += $(EPICS_BASE_IOC_LIBS)

#===========================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

PROD_LIBS += stream
PROD_LIBS += asyn

Replies:
Re: sequencer + streamdevice Andrew Johnson
RE: sequencer + streamdevice Emmanuel Mayssat

Navigate by Date:
Prev: Re: EPICS record time delay Dirk Zimoch
Next: Re: dbGetLink with options Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: dbGetLink with options Andrew Johnson
Next: Re: sequencer + streamdevice Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·