Hi Jamie, Kay,
The problem is indeed with empty strings. That causes an invalid zero sized gdd value.
The fix is to ensure it is null terminated.
See my comment at https://code.google.com/p/pcaspy/issues/detail?id=14
It is a one-liner fix, which you can apply on your installation easily.
Best
Xiaoqiang
> On 03 Mar 2015, at 22:40, Jameson Graef Rollins <[email protected]> wrote:
>
> On Tue, Mar 03 2015, "Wang Xiaoqiang (PSI)" <[email protected]> wrote:
>> Since this is a pcaspy only bug, I created the report in the project issue tracker.
>> https://code.google.com/p/pcaspy/issues/detail?id=14
>>
>> Thanks for the detective work to reveal the bug.
>
> Hey, Xiaoqiang. I think the problem might actually be more insidious
> than I originally thought. It seems that if the value for a char array
> is every set to an array of null bytes this described error will be
> thrown when a monitoring clients connects to the channel. Clients that
> are already connected to the channel will also throw an error and not
> update their values if the value is set to an array of null bytes.
>
> I thought before that this problem was relatively innocuous, since it
> would have only been a startup problem. But now I see that whenever my
> pcaspy application clears the char array PV, all connected clients show
> the bad behavior.
>
> I haven't had any luck tracking down where in the pcaspy the problem may
> be coming from.
>
> jamie.
- 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
- Re: "No conversion between src & dest" warning with pcaspy Kasemir, Kay
- Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- Re: "No conversion between src & dest" warning with pcaspy Wang Xiaoqiang (PSI)
- Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- Navigate by Date:
- Prev:
Errors while building medm3.1.9 GONG Yu
- Next:
RE: Errors while building medm3.1.9 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: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
- 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
|