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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Sequencer configuration file |
From: | "David A. Slimmer via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Cc: | "David A. Slimmer" <slimmer at fnal.gov> |
Date: | Tue, 2 May 2023 18:25:11 +0000 |
Thanks for your suggestions. While I was able to use g++, I ran into what appears to be scoping problems that I could not overcome. 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(); when(available) { PVPUT(status, temphumRead( &h, &t )); : : Produces this error: So the sequencer parser doesn’t like my call to biasmoduleThread(), although there is no error produced from temphumRead(). I’m guessing temphumRead is handled differently because it is the context of a PVPUT
call. If launching a thread in the _seq.st code is not a proper thing to do, I’m wondering if there is another way to handle the thread launch before the sequencer starts? Thanks, Dave From: Andrew Johnson <anj at anl.gov>
On 4/18/23 5:55 PM, Michael Davidsaver wrote:
Rules can still be placed in a configure/RULES_BUILD file as this file still gets automatically included by every package that lists this module in their configure/RELEASE file(s). That feature was originally added to allow the sequencer
to provide build rules for its customers, but the approach involving installed cfg/RULES_* files was introduced more recently, and we do now encourage module authors to switch to using that instead. -- Complexity comes for free, Simplicity you have to work for. |