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: Sending PVs commands on multiple IOC at specific time |
From: | "Kasemir, Kay" <[email protected]> |
To: | Benoit Rat <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Tue, 22 Sep 2015 14:17:07 +0000 |
Hi:
The accuracy of what you describe is of course determined by how you can ‘wait’ on each LLRF IOC for the scheduled time, but in general I think what you describe would work.
As for he error reporting, you can look into supporting put-callback.
When you write to the LLRF_x:myWriteTimeCmd, that could wait until it actually executes the command, and then perform the put-callback. If the time has already passed, i.e. not “enough time”, it can perform the put-callback right away with an
error.
Your LLRF_ALL:myWriteCmd could then trigger a sequence that accesses all the individual LLRF_x:myWriteTimeCmd with put-callback, checking the results.
Thanks,
Kay
|