Hi Dave,
You can try "Long String Field Modifier $" for your purpose.
Doc: https://urldefense.us/v3/__https://epics.anl.gov/base/R7-0/8-docs/doxygen/filters.html__;!!G_uCfscf7eWS!cnuappWtgqPWAx1TPmDXqDhMvigKvWKoFp2iYWd5Q8WjhwPeqNIiUSy188XGNI75gNbTE1TS62BgbrFUQfin8Q$
$ caput -S plain.VAL$ "this is a string longer than forty characters"
Old : plain.VAL$
New : plain.VAL$ this is a string longer than forty characters
$ caget -S plain.VAL$
plain.VAL$ this is a string longer than forty characters
I am also curious about how to do it through PV Access though...
Cheers,
Di
Date: Tue, 30 Jul 2024 17:53:23 +0000
From: Dave Bracey <dbracey at fnal.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Subject: Truncated LSO
I'm using an lso record and my string gets truncated to 40 chars:
record(lso, "plain_lso")
{
field(SIZV, 256)
}
$ pvput plain_lso "This is a string longer than forty characters"
Old : <undefined> INVALID DRIVER UDF
New : 2024-07-30 12:45:33.238 "This is a string longer than forty char"
$ pvget plain_lso
plain_lso 2024-07-30 12:45:33.238 "This is a string longer than forty char"
What am I doing wrong here?
- Replies:
- Re: Truncated LSO Jure Varlec via Tech-talk
- Navigate by Date:
- Prev:
Re: Build base 3.15.8 on RHEL 9 Johnson, Andrew N. via Tech-talk
- Next:
Re: Truncated LSO Jure Varlec via Tech-talk
- 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>
2025
- Navigate by Thread:
- Prev:
Truncated LSO Dave Bracey via Tech-talk
- Next:
Re: Truncated LSO Jure Varlec via Tech-talk
- 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>
2025
|