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  <20182019  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Stringin - asynOctedRead type how to set string length
From: Mark Rivers <[email protected]>
To: Ralph Lange <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Tue, 5 Jun 2018 11:50:31 +0000
Hi Ralph,


When were the lsi and lso records introduced?  They do not seem to exist in 3.14.12.6.  I have searched the latest release notes for 3.14, 3.15, 3.16, and 7.0, and the first mention I see is in this:


**********************************************

Changes made between 3.15.3 and 3.15.4
New string input device support "getenv"

A new "getenv" device support for both the stringin and lsi (long string input) record types can be used to read the value of an environment variable from the IOC at runtime. See base/db/softIocExit.db for sample usage.


**********************************************

Note that this does not introduce the records, it just describes a new device support, and it only mentions the lsi record, not the lso.

The records are not documented in the record reference manual here:
https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14

The git log indicates that the lsi record was added in 2012.

***************************
commit e01a428059d1c2217ec73660503c0ae81be0aa7b
Author: Andrew Johnson <[email protected]>
Date:   Thu Nov 29 13:45:13 2012 -0600

    Added new Long String Input record type "lsi"

    With Soft Channel device support.
***************************

Since I was not aware that these records had been introduced I don't think they can be used with standard asyn device support?

Thanks,
Mark





________________________________
From: [email protected] <[email protected]> on behalf of Ralph Lange <[email protected]>
Sent: Tuesday, June 5, 2018 6:32 AM
To: EPICS Tech Talk
Subject: Re: Stringin - asynOctedRead type how to set string length

Hi Pilar,

The long string input (lsi) and long string output (lso) records in EPICS Base are designed to handle strings longer than the capacity of the classical Channel Access string type.
For these record types, the SIZV field configures the length of the internal buffers, while the LEN field contains the actual length of the string in the VAL field.

Cheers,
~Ralph


On Tue, Jun 5, 2018 at 12:48 PM Pilar Gil Jaldo <[email protected]<mailto:[email protected]>> wrote:

Hello Mark,

I would like to send a string which length is bigger than 40.

But as Ronaldo has mentioned, maybe it is better to try it using a waveform.

Thank you very much for your answers!

Pilar


Replies:
Re: Stringin - asynOctedRead type how to set string length Ralph Lange
References:
Modify checkbox value from a table widget Pilar Gil Jaldo
Stringin - asynOctedRead type how to set string length Pilar Gil Jaldo
Re: Stringin - asynOctedRead type how to set string length Mark Rivers
Re: Stringin - asynOctedRead type how to set string length Pilar Gil Jaldo
Re: Stringin - asynOctedRead type how to set string length Ralph Lange

Navigate by Date:
Prev: Re: Stringin - asynOctedRead type how to set string length Ralph Lange
Next: Re: Stringin - asynOctedRead type how to set string length 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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Stringin - asynOctedRead type how to set string length Ralph Lange
Next: Re: Stringin - asynOctedRead type how to set string length Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 05 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·