Am 03.04.20 um 15:04 schrieb Ben Franksen via Tech-talk:
> Am 03.04.20 um 12:43 schrieb Rogers, Will (DLSLtd, RAL, LSCI) via Tech-talk:
>> I suspect that this may not be a simple question, but:
>>
>> * If I create a waveform WAVE with a soft IOC of length 10, it has
>> WAVE.NELM as 10 and WAVE.NORD as 0 * If I caput 5 elements to it
>> (e.g. with Cothread) it has WAVE.NELM as 10 and WAVE.NORD as 5
>>
>> Is there a way to restore it to its uninitialised state with
>> WAVE.NORD as 0? How general could this be for different record
>> types?
>
> The first thing I would try is:
>
> caput -a WAVE 0
That gives me
Error from put operation: Invalid element count requested
Apparently this is the ECA_BADCOUNT error that comes from the CA client
library. So this is broken by design. You may have more luck with a
different CA client library (one of the Java versions?).
Cheers
Ben
--
...it is impossible to speak of a depoliticized economy as the liberals
do, or of a separation between economic exploitation and political
oppression as the Marxists articulate. The basic distinction, rather, is
between power and creativity...
-- Jonathan Nitzan and Shimshon Bichler: Capital as Power
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Setting an array to zero length Rogers, Will (DLSLtd, RAL, LSCI) via Tech-talk
- Re: Setting an array to zero length Ben Franksen via Tech-talk
- Navigate by Date:
- Prev:
Re: Setting an array to zero length Ben Franksen via Tech-talk
- Next:
Re: Setting an array to zero length Ralph Lange via Tech-talk
- 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: Setting an array to zero length Ben Franksen via Tech-talk
- Next:
Re: Setting an array to zero length Ralph Lange via Tech-talk
- 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
|