EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 541396] Re: initialize VAL of an mbbi/o record with a string
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Fri, 26 Mar 2010 14:57:47 -0000
Comment from Tim Mooney:

I can't tell from context exactly what problem is being discussed, but
it seems like you could take an exploratory stab, at some of what you'd
like to do, using info nodes.

I'm imagining you would modify a record's init_record() routine to parse
the record's info node(s), looking for a specially named or defined node
to indicate a field that needs a lazy load, and the data that should be
loaded. This would allow you to make at least some progress without
waiting for any (other) changes in base.

-- 
initialize VAL of an mbbi/o record with a string
https://bugs.launchpad.net/bugs/541396
You received this bug notification because you are a member of EPICS
Core Developers, which is a direct subscriber.

Status in EPICS Base: Triaged

Bug description:
With the following record in a db file

record(mbbo,"TEST:mbbo") {
	field(VAL,"Zero")
	field(ZRST,"Zero")
	field(ONST,"One")
}

I get

dbLoadRecords("test.db", "")
Error   Last token ")"
input line:     field(VAL,"Zero")
   in: path "."  file test.db line 2

I think it would be nice to be able to initialize an mbbo or mbbi record with one of the configured string values.

Original Mantis Bug: mantis-373
    http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=373




Navigate by Date:
Prev: Re: [Bug 541396] Re: initialize VAL of an mbbi/o record with a string Tim Mooney
Next: [Bug 541396] Re: initialize VAL of an mbbi/o record with a string Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Bug 541396] Re: initialize VAL of an mbbi/o record with a string Tim Mooney
Next: [Bug 541396] Re: initialize VAL of an mbbi/o record with a string Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·