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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Creating a Simple EPICS Sequencer Program |
From: | Jay Steele <[email protected]> |
To: | Bradley Pietrzak <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 7 Jul 2011 12:07:09 -0700 |
Yes – put the .st file in the SRCS list in the src/Makefile and rebuild the application.
For example, here’s a section from my Makefile with my own st files for compiling a cygwin32 IOC.
#testapp_SRCS_cygwin32 += sncExample.st #testapp_SRCS_cygwin32 += sample_changer.st testapp_SRCS_cygwin32 += cryorobotmotors.st testapp_SRCS_cygwin32 += cryorobotseq.st testapp_SRCS_cygwin32 += cryorobotsample.st Cheers, Jay Steele Xradia Corporation From: Bradley Pietrzak [mailto:[email protected]]
Thank you for you're help, Jay. I have now successfully built and ran the example program called "sncExample.stt" that is created when I run "makeBaseApp.pl -t example example" followed by "makeBaseApp.pl -i -t example example". When
you say I can simply create my own EPICS application by putting the .st file in the SRCS list in the application's Makefile, exactly what list are you referring to? Are you referring to this Makefile: "<top>/exampleApp/src/Makefile"? In that Makefile, there
is a section that builds sncExample as a component of example and as a standalone application. Is that where I add my own .st program? Thanks, Brad Pietrzak Indiana University Center for the Exploration of Energy and Matter On Thu, Jun 16, 2011 at 2:22 PM, Jay Steele <[email protected]> wrote: Hi Bradley,
> I am a student working at the Indiana Univeristy Center for the Exploration of Energy and Matter. Recently, a collegue and I have been tasked with using the EPICS sequencer to cycle some magnets. However, neither of us are at all familiar
with using state notation language. Our setup is this: we have a computer with a virtual machine on it that contains EPICS and the sequencer. We do all of our work from a different machine that runs Red Hat Linux. Using that machine, we ssh into the EPICS
virtual machine. While I have read a couple State Notation Language tutorials, I am still unclear on some key concepts. What I would most like to know is how to start from nothing and make a program that does nothing more than print the text "Hello World".
I think what confuses us most is how to go from a file named "HelloWorld.st" to something we can actually execute. At least for now, lets assume that all of the relevant compilers are successfully installed on the EPICS virtua! l machine. The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify
me immediately by reply email, delete this email, and do not disclose its contents to anyone. The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone. |