EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: "No conversion between src & dest" warning with pcaspy
From: "Kasemir, Kay" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 3 Mar 2015 17:31:35 +0000
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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·