EPICS Controls 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  <20112012  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Erros running st.cmd
From: "Shen, Guobao" <[email protected]>
To: [email protected]
Date: Fri, 05 Aug 2011 15:06:18 -0400
Looks like you do not have envPaths file generated under your iocBoot/firstioc.
Check your Makefile to make sure your ARCH is set correctly, and run make
under iocBoot/firstioc again.

Guobao

On 08/05/2011 02:35 PM, Cid, Florencio A wrote:

Hi all,

 

I just coded/compiled  an IOC for the first time.  Upon attempting to execute it, I am encountering the following errors….

 

 

[ui495a@macpro-fcid ...iocBoot/firstioc]$ ../../bin/cygwin-x86/firstioc st.cmd

#!../../bin/cygwin-x86/FirstIOC

 

## You may have to change FirstIOC to something else

## everywhere it appears in this file

 

< envPaths

epicsEnvSet("ARCH","cygwin-x86")

envPaths -- Line 1 -- Command epicsEnvSet not found.

epicsEnvSet("IOC","firstioc")

envPaths -- Line 2 -- Command epicsEnvSet not found.

epicsEnvSet("TOP","c:/firstIOCtop")

envPaths -- Line 3 -- Command epicsEnvSet not found.

epicsEnvSet("EPICS_BASE","c:/EPICS/base")

envPaths -- Line 4 -- Command epicsEnvSet not found.

 

)acLib: macro TOP is undefined (expanding string cd ${TOP}

 

## Register all support components

dbLoadDatabase "dbd/FirstIOC.dbd"

st.cmd -- Line 11 -- Command dbLoadDatabase not found.

FirstIOC_registerRecordDeviceDriver pdbbase

st.cmd -- Line 12 -- Command FirstIOC_registerRecordDeviceDriver not found.

 

## Load record instances

#dbLoadRecords("db/xxx.db","user=ui495aHost")

 

)acLib: macro TOP is undefined (expanding string cd ${TOP}/iocBoot/${IOC}

)acLib: macro IOC is undefined (expanding string cd ${TOP}/iocBoot/${IOC}

iocInit

st.cmd -- Line 18 -- Command iocInit not found.

 

## Start any sequence programs

#seq sncxxx,"user=ui495aHost"

epics>

 

 

I’m not sure if I am doing anything obviously wrong.  Any help/assistance will be greatly appreciated. 

 

 

Thanks in advance,

 

F. Cid

 


-- 
Guobao Shen
Bldg. 902-B, 17 Cornell Avenue
National Synchrotron Light Source II
Brookhaven National Laboratory
Upton, New York 11973
Tel.	: +1 (631) 344 7540
Fax.	: +1 (631) 344 8085
http://www.bnl.gov/nsls2

Replies:
Re: Erros running st.cmd Andrew Johnson
References:
Erros running st.cmd Cid, Florencio A

Navigate by Date:
Prev: Erros running st.cmd Cid, Florencio A
Next: Re: Erros running st.cmd Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Erros running st.cmd Cid, Florencio A
Next: Re: Erros running st.cmd Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·