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  2011  2012  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: macLib: macro PORT is undefined
From: Hinko Kocevar <[email protected]>
To: [email protected]
Date: Wed, 10 Apr 2013 10:08:38 +0200
Dear Yasemin,

On 04/10/2013 09:56 AM, Yasemin Barutçu wrote:
dbLoadRecords("/opt/epics/modules/soft/asyn4-20/db/asynRecord.db","P=yasemin:,R=asyn,Port=L0,ADDR=24,IMAX=100,OMAX=100")
macLib: macro PORT is undefined (expanding string     field(PORT,"$(PORT)")

The asynRecord.db defined record has a field:

field(PORT,"$(PORT)")

To satisfy the IOC startup you need to set the PORT macro ("$(PORT)") value to something, similar to what you do for other macros - P, R, ADDR..

Hmm, looking at your error line above, maybe fixing the "Port" to "PORT" will solve the issue.

HTH,
Hinko


References:
macLib: macro PORT is undefined Yasemin Barutçu

Navigate by Date:
Prev: macLib: macro PORT is undefined Yasemin Barutçu
Next: RE: macLib: macro PORT is undefined nick.rees
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: macLib: macro PORT is undefined Yasemin Barutçu
Next: RE: macLib: macro PORT is undefined nick.rees
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·