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  <20142015  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  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Sequencer 2.2.0
From: Mark Rivers <[email protected]>
To: Benjamin Franksen <[email protected]>, "'EPICS Techtalk'" <[email protected]>
Date: Wed, 6 Aug 2014 13:54:33 +0000
Hi Ben,

I have tried building the synApps module with seq 2.2.0.1.  I am running into some problems that I could not figure out from the release notes:

../MAX_trajectoryScan.st: In function 'seqg_action_maxTrajectoryScan_0_execute':
../MAX_trajectoryScan.st:588:40: error: called object 'seqg_var->time' is not a function

The line with the error, which is in SNL code, not escaped C code, is:
			startTime = time(0);

This is the definition of startTime at the start of the SNL code.
/* Note, this should be time_t, but SNL doesn't understand that.  This is
 * the defininition in vxWorks. */
unsigned long startTime;  

The error occurs whether or not the following line is included at the top of the SNL code:
%% #include <time.h>

The next error is:

../MAX_trajectoryScan.st:996:3: error: too few arguments to function 'seq_pvGet'

The offending line is:

		seq_pvGet(ssId, pVar->epicsMotorDoneIndex[j], 0);

This is in escaped C code at the end of the file.  The program is built with the "+r" option.


The final error is:

/corvette/home/epics/devel/seq-2-2-0-1/bin/linux-x86/snc     getFilledBuckets.i -o getFilledBuckets.c
../getFilledBuckets.st:151: error: calling built-in function delay not allowed here

Line 151 is the delay(1.0) statement in the code below:

			when((srInjectStatus ==  NOTINJECTING) &&
				(srBeamStatus) == STOREDBEAM) {
				delay(1.0);  /* 1 sec delay */

Is this error due to this change in 2.2.0:

"Since calling delay outside of the condition of a state transition never had any useful effect, it is now disallowed."

Thanks,
Mark








________________________________________
From: [email protected] [[email protected]] on behalf of Benjamin Franksen [[email protected]]
Sent: Monday, August 04, 2014 8:23 AM
To: 'EPICS Techtalk'
Subject: Sequencer 2.2.0

Hi Everyone

I am happy to (finally!) anounce the first public release of the EPICS
Sequencer version 2.2. This release contains many new features, see the
release notes [0] for details. There are also some changes to the
interface between compiler and run-time system, which may cause trouble
when trying to build existing programs, especially ones that heavily
rely on escape to C. I tried to keep the incompatibilities to a minimum,
though, so most programs should build fine with the new version. Details
about this are also in the release notes.

Building on Windows might fail because unfortunately I could not test
that yet.

Please report any problems you notice. I will go on holidays from
Thursday until the end of August, and I will probably not be able to
answer questions during this time, but I promise I'll address all of
them when I come back.

Cheers
Ben

[0] http://www-csr.bessy.de/control/SoftDist/sequencer/ReleaseNotes-2-2.html#release-notes-2-2-0
--
"Make it so they have to reboot after every typo." â?? Scott Adams


Replies:
Re: Sequencer 2.2.0 Andrew Johnson
Re: Sequencer 2.2.0 Benjamin Franksen
References:
Sequencer 2.2.0 Benjamin Franksen

Navigate by Date:
Prev: Re: st.cmd -- Line 30 -- Command seq not found. Benjamin Franksen
Next: VDCT priya tiwari
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Sequencer 2.2.0.1 Benjamin Franksen
Next: Re: Sequencer 2.2.0 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·