Experimental Physics and Industrial Control System
Subject: |
Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading |
From: |
Andrew Johnson <[email protected]> |
To: |
[email protected] |
Date: |
Fri, 19 Aug 2011 10:18:21 -0500 |
Hi Jay,
On 2011-08-19 Jay Steele wrote:
> I also tested the ca_put_callback function to set the VAL field for
> asyn motors, and only received the callback after the motor finished
> moving to its command position. Is this expected behavior? I was hoping
> for the callback to be received once the VAL field was set. Is there a way
> to configure the channel access software to make this happen?
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.
- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham
- Replies:
- Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading J. Lewis Muir
- References:
- question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading Jay Steele
- RE: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading Jay Steele
- Navigate by Date:
- Prev:
Re: EPICS BOY saying EPICS PV is disconnected even though to can beread through the terminal with no issues Kasemir, Kay
- Next:
Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading J. Lewis Muir
- 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: question about ca_get, ca_pend_io timeout in EPICS client withWindows XP multi-threading Mark Rivers
- Next:
Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading J. Lewis Muir
- 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