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  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Sequencer configuration file
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 2 May 2023 15:00:47 -0500
Hi David,

On 5/2/23 1:25 PM, David A. Slimmer via Tech-talk wrote:
I decided to do a quick rewrite of my code in c. While that solves my initial problem, I’ve run into a problem trying to a launch a thread which is necessary for the PVPUT in the _seq.st code:

 

state reading

{

  biasmoduleThread();

There are only a limited number of things that can appear directly inside a state block, and calls to functions are not one of them. If you want a function to be called when/before the state program first starts, look at the documentation for Global Entry and Exit blocks as a global entry block appears to be what you want (and not a State Entry block since that would be called every time the sequencer enters that state).

HTH,

- Andrew


-- 
Complexity is free, it's Simplicity that takes work.

References:
Sequencer configuration file David A. Slimmer via Tech-talk
Re: Sequencer configuration file Andrew Johnson via Tech-talk
Re: Sequencer configuration file Michael Davidsaver via Tech-talk
Re: Sequencer configuration file Andrew Johnson via Tech-talk
RE: Sequencer configuration file David A. Slimmer via Tech-talk

Navigate by Date:
Prev: RE: Sequencer configuration file David A. Slimmer via Tech-talk
Next: Epics Archiver Online Status Question Manoussakis, Adamandios via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: RE: Sequencer configuration file David A. Slimmer via Tech-talk
Next: Motion Controls Engineer position at ALS in LBNL Miroslaw Dach via Tech-talk
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  <20232024 
ANJ, 02 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·