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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: asyn TracMask + asynMotor : function= |
From: | Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov> |
To: | John Dobbins <john.dobbins at cornell.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 10 Aug 2020 08:21:52 +0200 |
Does the following help: <https://github.com/EuropeanSpallationSource/motor/blob/7546277f5a9479f5e85bcbb171df8eb5abac5d17/motorApp/MotorSrc/asynMotorController.cpp#L473-L485> (Looking at the code with fresh eyes, I think we can make it even easier) On 27/07/20 21:15, John Dobbins via Tech-talk wrote:
All,I am learning to use the EPICS support for the Galil motor controller. When I useasynSetTraceMask("myAsynPort",0,8) I get output like this:2020/07/27 14:59:23.327 asynMotorController:writeInt32:: axis=0, function=175, value=1in the source code int function = pasynUser->reason;But I don't see how to go from function=175 to the parameter defined in the source header so that this message will mean something to me.Thanks, John Dobbins Research Support Specialist Cornell High Energy Synchrotron Source Cornell University www.chess.cornell.edu <http://www.chess.cornell.edu> Maybe it's all part of a great big ineffable plan. - Neil Gaiman, _Good Omens_