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  <20082009  2010  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Working with sequencer
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Fri, 21 Nov 2008 09:33:21 +0100
On Thursday 20 November 2008 22:04, David Dudley wrote:
> I've run into a little 'problem' I haven't been able to figure out yet.
>
> I'm building an IOC that will have a sequencer program in it.
>
> I've been trying to get the *.stt program to compile automatically as a
> part of the build.
>
> Problem is that I'm unclear as to how to configure for this.
>
> 1. I installed base  in /usr/local/EPICS
> 2. The source for base (3.14.9) is in /usr/local/EPICSSRC/base
> 3. Sequencer (2.0.11) is uncompressed into
> /usr/local/EPICSSRC/modules/soft/seq
> 4. I've set INSTALL and INSTALL_APP to install everything in
> /usr/local/EPICS
>
> Now, I'm working on the RELEASE file in my application.
> According to the documentation I set SNCSEQ to the directory where you
> installed the sequencer.
>    Is that where the executables are, or where I unpacked the source
> into?

Where the executables are, but minus the bin/$(T_A) subdirectory. In other 
words, to the $(INSTALL_LOCATION) of the sequencer (which defaults to the 
source top-level directory).

> It looks like I need to pull in the RULES_BUILD file from the sequencer
> directory, but how do I do that without accessing the source copy?

No need to do that, there is special code in teh EPICS base rules to include 
relevant stuff under $(SNCSEQ)/configure. Typically all you need is to add

<lib-or-exe-name>_SRCS += my-state-machine.st

'makeBaseApp.pl -t example' will give you an example setup and it includes a 
state machine.

Cheers
Ben
-- 
"Programming = Mathematics + Murphy's Law" (E.W.Dijkstra)

Any text below this line has automatically been added by the
mail server and does not necessarily represent my personal opinion.

Helmholtz-Zentrum Berlin fÃr Materialien und Energie GmbH
Glienicker StraÃe 100, 14109 Berlin
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph
Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher
GeschÃftsfÃhrer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Michael Steiner, Dr. Ulrich Breuer
Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583

Information:
Durch die Fusion mit dem ehemaligen Hahn-Meitner-Institut (HMI) ist BESSY nun Teil des neuen Helmholtz-Zentrum Berlin fÃr Materialien und Energie (HZB). Die Fusion wird im Januar 2009 vollzogen sein.

By the merger with the former Hahn-Meitner-Institut (HMI), BESSY became part of the new Helmholtz-Zentrum Berlin fÃr Materialien und Energie (HZB). The merger will be completed by January 2009.


Disclaimer automatically attached by the E-Mail Security Appliance mail0.bessy.de 11/21/08 at Helmholtz-Zentrum Berlin GmbH. 


References:
Working with sequencer David Dudley

Navigate by Date:
Prev: Re: archiveviewer - Error in data header Kasemir, Kay
Next: Re: SNL compiler bug (and a fix) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Working with sequencer David Dudley
Next: Re: Working with sequencer Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·