Bruno, notice that I can initialize integers, for example, I can call
setIntegerParam(NDFileCreateDir, -100) and CreateDirectory_RBV is
initialized to -100. CreateDirectory has PINI == YES and VAL = 0.
2016-06-01 15:45 GMT-03:00 Bruno Martins <[email protected]>:
> HI Henrique,
>
> I think what is happening is that NDFileTempSuffix has its associated
> $(P)$(R)TempSuffix record with PINI=YES and VAL="", so the record
> initialization that happens after your constructor is clearing the value
> (https://github.com/areaDetector/ADCore/blob/master/ADApp/Db/NDFile.template#L366).
>
> I think the same happens to NDFileTemplate.
>
> HTH,
>
>
> Bruno
>
> On Wed, Jun 1, 2016 at 2:25 PM, Henrique Almeida <[email protected]>
> wrote:
>>
>> Hello, while constructing an areaDetector object, I'm unable to
>> successfully initialize string parameters with setStringParam(). For
>> example, calling setStringParam(NDFileTemplate, "abcd") or
>> setStringParam(NDFileTempSuffix, "xyz") has no effect and the
>> corresponding PVs, FileTemplate_RBV and TempSuffix_RBV stay empty. Any
>> help ?
>>
>> Note: I can successfully initialize integer parameters with
>> setIntegerParam().
>
>
- References:
- Unable to initialize parameter with setStringParam() Henrique Almeida
- Re: Unable to initialize parameter with setStringParam() Bruno Martins
- Navigate by Date:
- Prev:
Re: Unable to initialize parameter with setStringParam() Bruno Martins
- Next:
RE: Unable to initialize parameter with setStringParam() Mark Rivers
- 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: Unable to initialize parameter with setStringParam() Bruno Martins
- Next:
RE: Unable to initialize parameter with setStringParam() Mark Rivers
- 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
|