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: How to access bigstring using channel access
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Thu, 15 Jan 2015 08:33:35 -0500
Hi Deeptarka,

Try appending a dollar sign to the PV name when connecting through Channel Access. The IOC takes that as a hint to represent a string field as an array of char, so that CA can transfer more chars than the fixed-size string would allow.

    caget mybigstring.VAL    -->   string (fix 39 chars)
    caget mybigstring.VAL$   -->   array of char (max EPICS_CA_MAX_ARRAY_BYTES - 1)

HTH,
~Ralph


On 15/01/2015 07:56, Deeptarka Das/TVM/TCS wrote:

Hi all,

 

I would like to know if there is some way by which channel access can be used to put and get strings of size larger than 40. I do not wish to use waveform record nor do i wish to use pvaSrv to access PVs using pvAccess. Rather I would like to use the bigstring recordtype of EPICS V4 with channel access. Is there any way it is possible by maybe changing something in epics base?

--
Thanks and Regards,
Deeptarka Das
Mailto: [email protected]




Replies:
Re: How to access bigstring using channel access Deeptarka Das/TVM/TCS
References:
How to access bigstring using channel access Deeptarka Das/TVM/TCS

Navigate by Date:
Prev: How to access bigstring using channel access Deeptarka Das/TVM/TCS
Next: RE: industrial barcode reader Russ Berg
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: How to access bigstring using channel access Deeptarka Das/TVM/TCS
Next: Re: How to access bigstring using channel access Deeptarka Das/TVM/TCS
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 ·