Hi Andrew
Yes, I made mistake it must be $(chan) and not INDX.
I'm using Base R3.14.12.3 running on a BeagleBone Black (os Ubuntu 14.04
LTS) and please explain the easier way on Base 3.15 or >
Thanks
Amien
On 2018/03/16 17:31, Andrew Johnson wrote:
Hi Amien,
On 03/16/2018 09:19 AM, Amien Crombie wrote:
I have a subarray record that looks like this:
record(subArray, "$(dev):$(channame)") {
field(SCAN, ".1 second")
field(FTVL, "FLOAT")
field(DTYP, "Soft Channel")
field(INP, "$(dev):xcur") ## INP comes from a waveform of 8 floats
field(NELM, "1")
field(MALM, "8")
field(INDX, "$(chan)") ## chan macro starts at 0
field(FLNK, "$(dev):mychan$(INDX)")
What are you trying to achieve with the above FLNK value? Did you mean
to use $(chan) instead of $(INDX)? Do you have 8 copies of this record,
one each for chan=1, chan=2 etc?
}
record(ai, "$(dev):mychann$(chan)") {
field(DTYP, "Soft Channel")
}
This is possibly not the right way to do it. Is there a better way?
I suspect you may be trying to extract each of the individual values
from the waveform into their own ai record, is that correct?
Which version of EPICS Base are you using? There is an easier way than
creating 8 subArray records if you are using a 3.15 or later release of
Base.
- Andrew
- Replies:
- Re: SubArray to ai record Andrew Johnson
- References:
- SubArray to ai record Amien Crombie
- Re: SubArray to ai record Andrew Johnson
- Navigate by Date:
- Prev:
Re: StreamDevice with Telnet port Mark Rivers
- Next:
Re: StreamDevice with Telnet port Dirk Zimoch
- 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 to ai record Andrew Johnson
- Next:
Re: SubArray to ai record Andrew Johnson
- 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
|