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: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam
From: Emmanuel Mayssat <[email protected]>
To: Eric Norum <[email protected]>
Date: Thu, 18 Apr 2013 12:20:43 -0700
What happen when placed after the iocInit? 
It works!!!

Indeed, the asynSetTraceMask call was just before (no dbLoadXXX in between).
Now, it is just after. 
The behavior is different. 
The -1 asynAddress is now behaving as expected.

Thanks,
--
E


Subject: Re: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam
From: [email protected]
Date: Thu, 18 Apr 2013 09:41:19 -0700
CC: [email protected]
To: [email protected]

Note that
asynSetTraceMask "myPort",-1,0x9
will have an effect only on addresses that are registered at the time that the asynSetTraceMask is invoked.

Addresses which are registered later as the result of things like dbLoadRecords will not have their trace mask set.
What happens if you move the asynSetTraceMask to after the iocInit?

On Apr 18, 2013, at 9:28 AM, Emmanuel Mayssat <[email protected]> wrote:



> From: [email protected]
> If you want to print ASYN_TRACE_ERROR and ASYN_TRACEIO_DRIVER messages for a records with ANY asyn address then you do
> asynSetTraceMask "myPort",-1,0x9
> Is this what you are asking?

Yes, except that the -1 asynAddress is what I had initially... 
and that doesn't work for ANY address (but for address 0).

But setting the asynTrace flags for each asynAddress works as expected.

PS: asyn 4-12 + epics-base 3.14.11 + fedora 8 IOC
PS: I am using ASYN_MULTIDEVICE as previously recommended

FYI

--
Emmanuel

-- 
Eric Norum
[email protected]





References:
asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Mark Rivers
RE: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat

Navigate by Date:
Prev: Re: Linux USB serial questions J. Lewis Muir
Next: Re: Linux USB serial questions Dale L. Brewe
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: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat
Next: CA beacon / ENOBUFS Benjamin Franksen
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 ·