Hi Zen,
On Friday 02 July 2010 16:38:10 Szalata, Zenon M. wrote:
> I have a waveform and an aSub records. I want to transfer data from the
> waveform to the aSub record and I am having difficulties with that.
>
> Here is my (simplified) waveform record:
>
> record( waveform, "$(P):WF:REQUEST"){
> field( DESC, "struct for request")
> field( FTVL, "CHAR")
> field( NELM, "132")
> field( FLNK, "$(P):AS:REQUEST")
> }
>
> and here is my aSub record:
>
> record( aSub, "$(P):AS:REQUEST"){
> field( DESC, "struct for request")
> field( INAM, "asInitialize")
> field( SNAM, "asRequest")
> # field( INPA, "(P):WF:REQUEST")
> field( FTA, "CHAR")
> field( NOA, "132")
> field( FTVA, "UCHAR")
> field( NOVA, "132")
> }
>
> When I process the waveform record, the asRequest routine gets called when
> the INPA field is commented out. However, when I uncomment the INPA field,
> asRequest routine no longer gets called when the waveform record is
> processed. Looking at the TIME field in the aSub record I can tell that
> the records is getting processed each time I process the waveform record,
> regardless if the INPA field is commented out or not.
Please send us a level 2 dbpr of the aSub record, I'd like to see if it's in
an alarm of any kind and to check some of the other fields.
> Is it not allowed to transfer array of bytes from one record to another?
> Is there a way to make that kind of data transfer?
You should be able to do exactly what you're trying, I don't see anything
obviously wrong with your setup. What architecture are you using, and are you
sure that everything has been compiled and linked using compatible binaries?
- Andrew
--
The best FOSS code is written to be read by other humans -- Harald Welte
- References:
- aSub Question Szalata, Zenon M.
- Navigate by Date:
- Prev:
Re: aSub Question Matthieu Bec
- Next:
RE: aSub Question Szalata, Zenon M.
- 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: aSub Question Szalata, Zenon M.
- Next:
Re: aSub Question Till Straumann
- 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
|