Pete,
You wrote:
> The example code already has the line allowing the recursive option.
> option +r;
Sorry. I never even noticed that you had attached the example code.
Mumble. Mumble.
As an act of contrition I tried your code and it seems to work OK for
me. I am not using the latest SNC but instead have 1.9B3. I had a quick
scan of the diffs between it and 1.9.1 and don't see anything
significant but it would be easy to miss something small.
There _was_ a problem with the "+r" option where the block of memory
for the variables was never being allocated. The result was that the
variables for all instances were accessed relative to zero rather than
relative to the allocated base address. This would give the behavior
that you observe but would also quite likely give segmentation faults
and other weird behavior. One test would be to print the value of the
pVar pointer in a bit of escaped C code and check that it is (a) not
zero and (b) different in each instantiation. If it isn't, that is a big
clue.
Hope this really helps this time,
William
- Navigate by Date:
- Prev:
Re: SNL 1.9 troubles Pete Jemian
- Next:
Re: Dev/Driver for Dynapower and Inverpower Power Supplies Claude Saunders
- 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: SNL 1.9 troubles Pete Jemian
- Next:
VXMP under EPICS Holger Jones
- 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
|