On Sep 3, 2014, at 8:21 AM, Pearson, Matthew R. <[email protected]> wrote:
>
> Hi David,
>
> Trying setting the mask to 0xFF, which will mean you'll see everything (and it will be very verbose). Then you can tweak the mask to just see what you want:
>
> asynSetTraceMask("PORT", 0, 0xFF)
That will display a lot of asyn internal messages. To just see I/O and error messages:
asynSetTraceMask("PORT", 0, 0x9)
> asynSetTraceIOMask("PORT", 0, 0xFF)
That will display raw and C-escaped, and hexadecimal versions of the I/O bytes. For a standard ASCII message based device you’ll likely be happier with:
asynSetTraceIOMask("PORT", 0, 0x2)
>
> (where the 0 is the asyn address).
>
> You can also set the TPRO field to 1 in that record, which will cause a string to be printed on the IOC shell whenever that record is processed (although it might just do it at the SCAN rate, and not reflect any ongoing processing. Not sure).
>
> One trick is to attach an asynRecord to the port, and use a GUI to set the trace bits on and off. It's much easier than typing it at the IOC shell (especially once it's already printing stuff).
>
> Cheers,
> Matt
>
--
Eric Norum
[email protected]
- References:
- Processing a record a in loop David Michel
- RE: Processing a record a in loop Mark Rivers
- Re: Processing a record a in loop David Michel
- RE: Processing a record a in loop Mark Rivers
- Re: Processing a record a in loop David Michel
- RE: Processing a record a in loop Mark Rivers
- Re: Processing a record a in loop David Michel
- Re: Processing a record a in loop Pearson, Matthew R.
- Navigate by Date:
- Prev:
RE: synApps_5_7 build error on Windows 8.1 x64 freddie.akeroyd
- Next:
RE: Processing a record a in loop Emmanuel Mayssat
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Processing a record a in loop Andrew Johnson
- Next:
RE: Processing a record a in loop Dalesio, Leo
- 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
2018
2019
2020
2021
2022
2023
2024
|