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: help setting up XY table control with EPICS StreamerClass |
From: | Christian Pauly <[email protected]> |
To: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 21 Jun 2013 11:52:24 +0200 |
Ok, i see. But still:How can i get then information if the motors are running at the moment, or not. Without doing periodic scans on the PACT fields ??
On 06/21/2013 11:39 AM, Ralph Lange wrote:
Hi Christian, On Fri Jun 21 2013 11:07:38 GMT+0200 (CEST), Christian Pauly <[email protected]> wrote:No, only one motor can move at a time. But i thought it is "bad style" to do this synchronous with such large delays ? ( I had to define huge timeouts in the protocol to get it work...)This rule of not doing synchronous device support for devices with long delays applies to writing device support. If you are using StreamDevice (which I assume), your device support is not synchronous - StreamDevice and ASYN support below are working asynchronously and take care of the gory details for you. The port that you are communicating with will be locked while a protocol (like your move command) is running. But that is fine if the device can only use one motor at a time. Cheers, ~Ralph
-- Dr. Christian Pauly Bergische Universität Wuppertal Fachbereich C - Physik Gaußstraße 20, D-42119 Wuppertal Tel: +49 (0)202 439-2632, Fax: +49 (0)202 439-2662