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: Record Processing
From: Zenon Szalata <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 25 Jun 2013 22:01:23 -0700
Hi Mark,
I have a simple longout record

record( longout, "$(P):LO:DEBUG-$(M):MFUNC"){
  field( DESC, "Modbus Func:")
  field( DTYP, "asynInt32")
  field( OUT,  "@asyn(DEBUG,0,1)LO_MFUNC")
  field( VAL,  "3")
  field( PINI, "YES")
}

It is a part of an IOC which uses asynPortDriver class driver. I put a print statement in writeInt32 function and at IOC initialization time it prints that the value to write is 0.
Then at the end of st.cmd script I have put a
dbpf <record name>.PROC 1
for this record and this time the value to write is 3. Why is the record writing 0 at IOC initialize time? I am not sure if this is a basic EPICS or asyn issue, so I thought I ask you.
Thanks,
Zen

Replies:
RE: Record Processing Mark Rivers

Navigate by Date:
Prev: Re: motorSimSupport segfaults Pearson, Matthew R.
Next: caQtDM V3.1.1 Mezger Anton Christian
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: Re: motorSimSupport segfaults Konrad, Martin
Next: RE: Record Processing Mark Rivers
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 ·