g+
g+ Communities
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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
<== Date ==> <== Thread ==>

Subject: Re: header files in snc code
From: Tim Mooney <mooney@aps.anl.gov>
To: Pierrick Hanlet <hanlet@fnal.gov>
Cc: Tech Talk <tech-talk@aps.anl.gov>
Date: Fri, 8 Feb 2013 12:51:20 -0600 (CST)
Hi Pierrick,

Yes, you can do this.  Don't escape the '#include "filename.h"' with "%%", because in this case you /do/ want the state-notation-language compiler to see the header file.

Tim


From: "Pierrick Hanlet" <hanlet@fnal.gov>
To: "Tech Talk" <tech-talk@aps.anl.gov>
Sent: Friday, February 8, 2013 12:04:27 PM
Subject: header files in snc code

Hi,
I'm building a state machine in which I will have ~100 variables which I will monitor
and to which I will write.  I would like to make my source code more clear by putting
this list in a header file.  I could not find anything in the documentation other than
including a c-style header file with the appropriate "%%".  Can I add a header file
in which I make all of the assignments and monitors?
Thank you,
Pierrick

--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)


Replies:
RE: header files in snc code Mark Rivers
References:
header files in snc code Pierrick Hanlet

Navigate by Date:
Prev: header files in snc code Pierrick Hanlet
Next: RE: header files in snc code Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
Navigate by Thread:
Prev: header files in snc code Pierrick Hanlet
Next: RE: header files in snc code Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·