> From [email protected] Wed Dec 6 18:46 CST 1995
> Date: Wed, 6 Dec 95 14:46:00 HST
> From: [email protected] (Kevin Tsubota)
> To: [email protected]
> Subject: passing arrays via input links
> Cc: [email protected]
> Content-Type: text
> Content-Length: 821
>
>
> Hello All,
>
> I've created a couple of specialized processing records that need
> to pass arrays from one record to the next via input links.
>
> I've struggled with it but could not find a way to get full array
> from the output of one record to the input link of the next. At
> most I get the first element of the array only.
>
> For now I've worked around it, by passing the array pointer (via
> and input link) and assigning that to another array ptr in the receiver,
> hence they both reference the same memory locations.
>
> I don't particularly like this implementation because if the receiver
> updates the data on his side, its also reflected on the other end.
Have you been using
recGblGetLinkValue and recGblPutLinkValue
rather than
recGblGetFastLink and recGblPutFastLink
They should work just fine. Look at devWfSoft.c for an example.
One last comment. Make sure you are looking linking to the correct field.
For example if you nwant the array value of a waveform record you must
link to the VAL field NOT to the BPTR field.
Marty Kraimer
----- End Included Message -----
- Navigate by Date:
- Prev:
passing arrays via input links Kevin Tsubota
- Next:
Clocks on mv162/mv167 boards Matt Bickley
- 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:
passing arrays via input links Kevin Tsubota
- Next:
Re: passing arrays via input links Kevin Tsubota
- 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
|