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
<2016>
2017
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
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|