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: Help creating IOC for Lakeshore 336 |
From: | "Lang, Keenan C. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Gunn, Brandon E." <bgunn at ucsd.edu> |
Date: | Wed, 21 Jun 2023 22:54:05 +0000 |
Brandon,
The -t flag with makeBaseApp refers to application templates that are listed in epics-base/templates/makeBaseApp/top . These are entire directories that get copied and structured by the makeBaseApp script.
The template file that you are referring to is a Database Template File (https://docs.epics-controls.org/en/latest/appdevguide/databaseDefinition.html#dbloadtemplate
) which is a file used at IOC startup to generate PV's using database definition files and macro replacement.
The lakeshore336.template file is meant to be loaded in your IOC's st.cmd file using the dbLoadTemplate command. That command will take in the path to the template file and a set of macros to apply to the template.
Keenan
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Brandon Gunn via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, June 21, 2023 5:16 PM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Help creating IOC for Lakeshore 336 Hello,
Firstly, thank you to everyone who helped me with my EPICS installation last week!
I am now trying to create an IOC for our Lakeshore 336 using this, which I am very grateful someone has taken the time to create: https://github.com/mp49/lakeshore
Unfortunately, between the README and the EPICS documentation, I am a bit confused about how to set up this IOC.
So far, I cloned the repo into my ~/EPICS/support directory, edited the RELEASE file to include the appropriate paths, followed by make, which did not throw any errors.
I have now created a directory in ~/EPICS/IOCs and am attempting to call makeBaseApp.pl to create a lakeshore336 IOC. I believe that I am supposed to link the lakeshore336.template file that I downloaded using the -t flag, but even using the full path
does not seem to work.
Is this the correct way to link the Lakeshore336 module when creating the IOC? Am I supposed to create symlinks someplace for the downloaded template files so that makeAppBase.pl can find them?
Thank you,
Brandon
|