On Mar 3, 2015, at 12:19 PM, Andrew Johnson <[email protected]>
wrote:
> On 03/03/2015 11:04 AM, Kasemir, Kay wrote:
>> Until the PV is initialized, I get the same
>>
>> No conversion between src & dest types no conversion between event
>> app type=16 and DBR type=18 Element count=60
>>
>> error.
>
> The implication is that pcaspy is presenting an uninitialized channel's
> value to the cas as some type which gdd can't convert into to an array
> of chars. The answer may be as simple as always initializing the value
> of a string channel to be an empty string.
.. which I just found can be done like this:
self.setParam('ThatPV', [ 0 ])
That seems to work for clients that look for a long string, since they end on the first '\0'.
Just
self.setParam('ThatPV', [ ])
to set an empty array (string) doesn't help.
-Kay
- Replies:
- Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- References:
- "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
- Re: "No conversion between src & dest" warning with pcaspy Kasemir, Kay
- Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
- Navigate by Date:
- Prev:
Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
- Next:
Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- 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: "No conversion between src & dest" warning with pcaspy Andrew Johnson
- Next:
Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- 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
|