EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: including one .stt file as a header in another
From: Patrick Thomas <[email protected]>
To: [email protected]
Date: Fri, 22 May 2009 15:53:18 -0700
Hi,
How would one go about including one .stt file as a header in another? I tried to do this with %%#include "....stt", but it does not seem to be finding the variables that are assigned to process variables in the included file. My makefile uses the following, where sncMyExample.stt is the sequencer code that I want to have include another .stt file.

ifneq ($(SNCSEQ),)

   # Build sncExample into h1_tcs_itmx_pwrSupport
   sncExample_SNCFLAGS += +r
   sncMyExample_SNCFLAGS = +m

   h1_tcs_itmx_pwr_DBD += sncExample.dbd
   h1_tcs_itmx_pwr_DBD += sncMyExample.dbd

   h1_tcs_itmx_pwrSupport_SRCS += sncExample.stt
   h1_tcs_itmx_pwrSupport_SRCS += sncMyExample.stt

   h1_tcs_itmx_pwrSupport_LIBS += seq pv
   h1_tcs_itmx_pwr_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

Thank you,
Patrick


Replies:
Re: including one .stt file as a header in another Wesley Moore

Navigate by Date:
Prev: RE: where is ca_detach_context()? Mark Rivers
Next: get_ioint_info missing Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: where is ca_detach_context()? Andrew Johnson
Next: Re: including one .stt file as a header in another Wesley Moore
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024