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  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] lso record
From: Michael Davidsaver <mdavidsaver at gmail.com>
To: "Johnson, Andrew N." <anj at anl.gov>, Heinz Junkes <junkes at fhi-berlin.mpg.de>, "Hartman, Steven" <hartmansm at ornl.gov>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 10 Sep 2024 09:52:21 -0400
On 9/9/24 15:33, Johnson, Andrew N. via Tech-talk wrote:
Unfortunately the pvget/pvput tools don't currently have an equivalent of the '-S' flag although if they did that would work with a $ field modifier. If your IOC runs QSRV-2 from PVXS that can transport long strings over PVA, and with that you don't have to use the $ field modifier at all. I'm not sure if PVXS can support treating a waveform containing a char array as a string, it may be possible if you set an info field.

An IOC running QSRV2 from PVXS >= 1.2.2 does not need special handling for VAL of lsi/lso.

$ cat si.db
record(lsi, "X") {
    field(SIZV, "128")
    field(INP, "This is a test")
    field(PINI, "YES")
}

$ softIocPVX -d ../base-git/lsi.db



$ pvput X "this is a sort of, kind of, longish string"
Old : 2024-09-10 09:48:32.831 "This is a test" New : 2024-09-10 09:48:51.796 "this is a sort of, kind of, longish string"

$ pvget X
X 2024-09-10 09:48:51.796  "this is a sort of, kind of, longish string"




References:
lso record Heinz Junkes via Tech-talk
Re: [EXTERNAL] lso record Hartman, Steven via Tech-talk
Re: [EXTERNAL] lso record Heinz Junkes via Tech-talk
Re: [EXTERNAL] lso record Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: lso record Michael Davidsaver
Next: Re: The teck-talk mailing list seems to be unarchived Johnson, Andrew N. 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  <20242025 
Navigate by Thread:
Prev: Re: [EXTERNAL] lso record Ralph Lange via Tech-talk
Next: Re: lso record Rolf Keitel 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  <20242025 
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·