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: Control system for Keithley |
From: | "Mooney, Tim M." <[email protected]> |
To: | Márcio Paduan Donadio <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 29 Sep 2016 17:16:09 +0000 |
You might look through the synApps xxx module, especially the iocBoot/ioc* directories. xxx is a working example of how to build, load, and use everything (sort of) in synApps,
including other Keithley equipment. You'll have to weed through a lot of stuff you don't care about, but there's probably an example of what you want to do in there.
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov) Advanced Photon Source, Argonne National Lab From: [email protected] [[email protected]] on behalf of Márcio Paduan Donadio [[email protected]]
Sent: Thursday, September 29, 2016 11:03 AM To: [email protected] Subject: Re: Control system for Keithley Ah, ok. So, probably, you don't know the directory structure of an IOC or even what a st.cmd is. In this case, you need more learning before trying to put an actual IOC to run. There is a lot of stuff to study, yet. Firstly, do the exercises in http://www.aps.anl.gov/epics/b Maybe you will not understand everything now, but the most important things to clarify are: - How files and directories are organized. - How a st.cmd file calls everything it needs to work. - What is the relationship between dbd and db files. - How the Makefile file inside Db and src directories are used to configure what your IOC will be made of. - How to modify configure/RELEASE to tell your IOC where the EPICS building blocks are located in your system. - How to compile an IOC. After understanding this, you are not prepared yet to understand all about your Keithley IOC. There is an important piece missing: the Asyn driver, responsible for making your IOC talk to your equipment using serial or GPIB. I recommend you to make it work initially with serial because it is easier to configure and diagnose for communication problems. Study the chapter 5 of this document: http://www.aps.anl.gov/epics/modules/soft/asyn/R4-7/tutorial.html . Compare its contents with your Keithley IOC to understand how your IOC needs to be configured to access your equipment. After getting all this knowledge, I think you will have almost completed the puzzle inside your head. Probably you'll face compilation problems or communication problems. Try to Google it first because, probably, some answers are already available in tech-talk. In the case you can't find a solution, post another question here. My last comment: I am assuming that you have both EPICS base and SynApps compiled in your system. Don't give up! Learning is life. Best regards, -- Márcio Paduan Donadio Engenheiro de Computação - Software de Operação das Linhas de Luz Laboratório Nacional de Luz Síncrotron – (LNLS) Centro Nacional de Pesquisa em Energia e Materiais (CNPEM) + 55 (19) 3512-3520 - [email protected] www.lnls.cnpem.br Em 29-09-2016 02:11, Paramveer Jain escreveu:
|