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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading |
From: | "J. Lewis Muir" <[email protected]> |
To: | Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Fri, 19 Aug 2011 10:29:09 -0500 |
On 8/19/11 10:18 AM, Andrew Johnson wrote: > If you want to know when the VAL field has been set you should be able to use > ca_create_subscription() to monitor that or some other related record field. > One problem with using the motor.VAL field though is that it's used as both an > input (the user's demand position) and an output field (the current position), > so you'd get monitor events while the motor is moving. That might not be what > actually want, so you should look at the other fields available and see if > monitoring one of them might be more appropriate for your purposes. Hi, Andrew. Are you talking about the EPICS motor record? The VAL field is only updated after the move completes if certain logic makes it get synced with the RBV field. The VAL field does not update as the motor moves. The RBV field does. Lewis