Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Re: Disabling a record from scanning during a program event
From: "Johnson, Andrew N." <anj@aps.anl.gov>
To: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>, "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
Date: Mon, 22 May 2017 19:43:39 +0000
Hi Iain,

There is some information about the SDIS+DISV+DISA mechanism in the Record Reference Wiki at https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_dbCommon#Scan_Fields although it's not really the comprehensive tutorial you asked for.

HTH,

- Andrew
________________________________________
From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Iain Marcuson <Iain.Marcuson@sydorinstruments.com>
Sent: Monday, May 22, 2017 10:59:24 AM
To: Michael Davidsaver; tech-talk@aps.anl.gov >>        EPICS Tech Talk
Subject: RE: Disabling a record from scanning during a program event

Mark sent me a suggestion of the same thing.  I am still curious about the binding however.  Is there a good tutorial on those?

Thank you,

Iain.

> -----Original Message-----
> From: Michael Davidsaver [mailto:mdavidsaver@gmail.com]
> Sent: Monday, May 22, 2017 11:58 AM
> To: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>; tech-
> talk@aps.anl.gov >> EPICS Tech Talk <tech-talk@aps.anl.gov>
> Subject: Re: Disabling a record from scanning during a program event
>
> On 05/22/2017 11:26 AM, Iain Marcuson wrote:
> > I have a setup that acquires an image from custom AreaDetector code for a
> custom camera.  The controller provides a command that returns the
> progress of an acquisition, since they can be quite long.  I have created a PV
> to query the progress of the acquisition, querying every 0.2 seconds.  I only
> want to scan when an acquisition is in progress.  I assume I would
> appropriately set the DISV and DISA fields of the progress PV.  However, I am
> lost at how I would set these variables from the acquisition code.  Is there an
> example or description of the bindings?
>
> You might be able to point the SDIS link at the Acquire record.  Use the CP
> link modifier.  The value read from SDIS is stored in DISA.  So setting DISV==0
> should disable the scan when Acquire==0.


References:
Disabling a record from scanning during a program event Iain Marcuson
Re: Disabling a record from scanning during a program event Michael Davidsaver
RE: Disabling a record from scanning during a program event Iain Marcuson

Navigate by Date:
Prev: RE: Disabling a record from scanning during a program event Iain Marcuson
Next: Force TCP/IP reconnect from Asyn/Streamdevice Christoph Schroeder
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
Navigate by Thread:
Prev: RE: Disabling a record from scanning during a program event Iain Marcuson
Next: RE: Disabling a record from scanning during a program event Iain Marcuson
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
ANJ, 23 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·