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  2013  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Init pv properly
From: Miguel <miguel.b.fernandes@gmail.com>
To: tech-talk@aps.anl.gov
Date: Fri, 14 Apr 2017 17:18:49 +0100
Hello,

I would like to create a Pv that at the epics start up does not have any specific value or one forced by me.

For example i would like to have a string that its initial state is not really important (no experience). Like:

record(stringin , "$(user):ExperienceString"){
    info(autosaveFields, "VAL")        #autosave
    field(VAL, "no experience")
    field(DESC, "anotar estados da experiencia")
}
Where ill change this afterwrds manually when it will be important.

The problem is that i would not like it to be instantiated as an undefined pv. Changing the VAL is the most appropriated method? I tought about changin UDF to 0 but did not work.

The same for a integer pv. Wich kind of pv should i use and how should i instantiate it?

Thanks a lot,
MiguelB


Replies:
RE: Init pv properly Arnold, Ned D.
RE: Init pv properly Mooney, Tim M.

Navigate by Date:
Prev: RE: Writing Area Detector Monitor Mark S. Engbretson
Next: RE: Init pv properly Arnold, Ned D.
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
Navigate by Thread:
Prev: ICALEPCS 2017 abstract submission deadline James Rezende Piton
Next: RE: Init pv properly Arnold, Ned D.
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
ANJ, 14 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·