Hi all,
I am currently executing a ca_put command to set a VAL field for a asyn motor record, then using the ca_pend_io function to wait until the command was sent out. I use other ca_get_callback commands to monitor the DMOV and MSTA fields to determine when the move has completed. I thought at first that I could use ca_put_callback and a callback function to indicate that the command was sent out, but the actual behavior is different - the callback function indicates when the motion is finished.
My program works okay for now using ca_put and then ca_pend_io to set the VAL field for asyn motor records.
Cheers,
Jay Steele
Xradia Corporation
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Johnson
Sent: Friday, August 19, 2011 8:41 AM
To: J. Lewis Muir
Cc: [email protected]
Subject: Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading
Hi Lewis,
On 2011-08-19 J. Lewis Muir wrote:
> 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.
Oops, my mistake, it's ages (10 years?) since I've actually used a motor
record, so I'm happy to be corrected.
Maybe Jay could explain what information he's actually wanting to get, and the
other motor experts here can tell him how to achieve that.
- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham
The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.
- 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 Andrew Johnson
- Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading J. Lewis Muir
- Re: question about ca_get, ca_pend_io timeout in EPICS client with Windows XP multi-threading Andrew Johnson
- Navigate by Date:
- Prev:
Re: CAJ host name quirk Re: EPICS BOY ... J. Lewis Muir
- Next:
EPICS (>=3.14.11) compiling problem on Snow Leopard (10.6.8) Shen, Guobao
- 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 with Windows XP multi-threading Andrew Johnson
- Next:
PCASpy 0.2 release Wang Xiaoqiang
- 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
|