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  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Usage of the dbNameToAddr funciton
From: ZHANG Zhaohong <zhangzhaohong@sinap.ac.cn>
To: <tech-talk@aps.anl.gov>
Date: Thu, 16 Oct 2014 20:27:33 +0800

Hi, all

The problem has been solved after I changed the dbAddr definition from “struct dbAddr *addr” into “struct daAddr addr”. I am wondering about another thing: if I use the pointer( addr.precord ) together with the dbScanLock and dbScanUnlock  to access the fields of the record instead of using the dbGetField and dbPutField, will any negative results happen? If not, does this approach reasonable?

 

 

Kind regards.

 

ZHANG Zhaohong

Beamline Control Group

ZhangHeng Road 239, Pudong district, 201204

SSRF, Shanghai, China

 


Navigate by Date:
Prev: RE: areadetector, iocSimDetector can not be started on OS X due to dyld: Symbol not found: _xmlFree [Solved] Mark Rivers
Next: Re: StreamDevice "in" command disturbed by out command Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Usage of the dbNameToAddr funciton ZHANG Zhaohong
Next: StreamDevice "in" command disturbed by out command haquin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·