Hi Lewis,
J. Lewis Muir wrote:
> On 6/3/09 8:23 AM, Hinko Kocevar wrote:
>> Steven M. Hartman wrote:
>>> Hinko Kocevar wrote:
>>>> Hello,
>>>>
>>>> I'm trying to use subArray record type to display each array element at
>>>> index 0 .. n (n == 10; my case) in a separate PV.
>>>>
>>> For your subArray records, use . . .
>>>
>>> field(MALM,"16") # number of elements of the waveform input
>>> field(NELM,"1") # number elements for desired subArray
>>>
>>> The subArray needs to allocate enough storage for MALM elements to hold
>>> the whole INP waveform, but you only want NELM elements for the subArray
>>> itself.
>>>
>> If I change subArray records the way you described it does not change
>> the output of the monitor to display only one value. The output is the
>> same as in the case I've described in previous mail (not desired to have
>> trailing zeros).
>
> Hi, Hinko.
>
> I agree with Steven's advice that you should use MALM=16 for your
> subArray records.
>
> What version of EPICS are you using? There is a known problem with the
> subArray record before EPICS 3.14.10. Could you check the value of
> "$(DEVICE)B.INDX" during your test? Has it been set to 0 even though
> you specified a value of 1? If so, you may be running into the problem
> reported in the following Tech-Talk message:
>
I'm using EPICS 3.4.10 version.
The properties for LIBERA01:SA:B is shown below:
epics> dbpr LIBERA01:SA:B
ASG: BUSY: 0 DESC: DISA: 0
DISP: 0 DISV: 1 INDX: 1 NAME:
LIBERA01:SA:B
NELM: 1 NORD: 1 SEVR: NO_ALARM STAT:
NO_ALARM
TPRO: 0 VAL: (nil)
I also looked at the other LIBERA01:SA:C, LIBERA01:SA:D, .. and the INDX
value is not 0 - for c it is 2, for D it is 3, .. This seems OK.
epics> dbpr LIBERA01:SA:C
ASG: BUSY: 0 DESC: DISA: 0
DISP: 0 DISV: 1 INDX: 2 NAME:
LIBERA01:SA:C
NELM: 1 NORD: 1 SEVR: NO_ALARM STAT:
NO_ALARM
TPRO: 0 VAL: (nil)
Regards,
Hinko
--
Hinko Kocevar
Technical support engineer
Instrumentation Technologies
Velika pot 22, SI-5250 Solkan - Slovenia
T:+386 5 3352600, F:+386 5 3352601
mailto: [email protected]
http://www.i-tech.si - When your users demand stability
- References:
- subArray processing Hinko Kocevar
- Re: subArray processing Steven M. Hartman
- Re: subArray processing Hinko Kocevar
- Re: subArray processing J. Lewis Muir
- Navigate by Date:
- Prev:
Re: subArray processing Hinko Kocevar
- Next:
catools for cross compiled target Hinko Kocevar
- 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: subArray processing J. Lewis Muir
- Next:
Re: subArray processing Carl Lionberger
- 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
|