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

Subject: SNC: evflags not available to escaped C
From: Joe Sullivan <[email protected]>
To: Epics Questions <[email protected]>
Date: Thu, 09 May 2013 14:20:00 -0500
SNC evflags used to be made available to escaped C code via #define

---------------------------------------------------------------------
/* SNC Version 2.0.12: Wed Jun 16 13:13:56 2010: batch_scan_v3.i */
/* Event flags */
#define updateTime	1
#define modeChange	2
#define positioner1Done	3
#define positioner2Done	4
#define positioner3Done	5
---------------------------------------------

Now the 'enums' are defined in-line in sequence code but not in
escaped C functions where they become undefined variables.

# line 2107 "../batch_scan_v3.st"
				seq_efSet(ssId, 3/*positioner1Done*/);

Was this done on purpose? What is the best way around this?

Thanks.

Joe

--
Joseph Sullivan
[email protected] <> 630-252-8657
Advanced Photon Source
APS Engineering Services Division
Beamline Controls & Data Acquisition Group

Replies:
Re: SNC: evflags not available to escaped C Benjamin Franksen

Navigate by Date:
Prev: Re: archiver tools macro support Tim Mooney
Next: National Instruments PCI DAQmx Rafael Vescovi
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: archiver tools macro support Jack
Next: Re: SNC: evflags not available to escaped C Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·