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: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
Date: Mon, 22 May 2017 15:59:52 +0000
That should work, although I think the field is SDIS and not DISA.

Thank you,

Iain.

> -----Original Message-----
> From: Mark Rivers [mailto:rivers@cars.uchicago.edu]
> Sent: Monday, May 22, 2017 11:32 AM
> To: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>
> Subject: Re: Disabling a record from scanning during a program event
> 
> I think you could have the query record set it's DISA field to point to the
> detector Acquire PV and the DISV value be 0. That way the record will stop
> scanning when Acquire goes back to 0.
> Mark
> 
> 
> Sent from my iPhone
> 
> > On May 22, 2017, at 11:27 AM, Iain Marcuson
> <Iain.Marcuson@sydorinstruments.com> 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?
> >
> > Thank you,
> >
> > Iain.

References:
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: Re: Disabling a record from scanning during a program event Johnson, Andrew N.
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 Johnson, Andrew N.
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
ANJ, 23 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·