EPICS Controls 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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: 5 counts in 1 hour
From: Andrew Johnson <[email protected]>
To: "Southern, Tim" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 7 Jan 2016 16:55:39 -0600
On 01/07/2016 04:41 PM, Southern, Tim wrote:
> The way a db record interprets the value of a waveform/compress VAL
> field is not the same as when one performs a caget in a terminal?
> In a terminal, ( $>> caget somePVwaveform ) returns the entire array of
> values for the record. When called inside the CALC record, only the
> first item of the array is returned?

The record types that can only handle a single element effectively do
the equivalent of 'caget -#1 pvname', thus they will only see and use
the first element if you point them to a PV that contains an array.

If your IOC is running Base-3.15.x you can use a server-side filter in
the PV name to request the value of some element other than the first,
but with Base-3.14 you only ever get the first element.

- Andrew

-- 
There are only two hard problems in distributed systems: 2. Exactly-once
delivery 1. Guaranteed order of messages 2. Exactly-once delivery
 -- Mathias Verraes

References:
5 counts in 1 hour Southern, Tim
Re: 5 counts in 1 hour Andrew Johnson
Re: 5 counts in 1 hour Southern, Tim

Navigate by Date:
Prev: RE: 5 counts in 1 hour Mark Rivers
Next: Can I override record definition twice in an IOC John . Holt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: 5 counts in 1 hour Mark Rivers
Next: areaDetector driver pixel types Phil Atkin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·