Experimental Physics and
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.
From: "Pierrick Hanlet" <email@example.com>
To: "Tech Talk" <firstname.lastname@example.org>
Sent: Friday, February 8, 2013 12:04:27 PM
Subject: header files in snc code
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?
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)
|ANJ, 20 Apr 2015||
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·