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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Does the record type lsi support a long string longer than 40 bytes? |
From: | Yun Sangwon <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 15 Sep 2014 11:59:28 +0000 |
Dear All, I understand new record types such as printf, lsi and lso are added in EPICS v3.15. So, I’m considering to use the record type lsi (long string input) to store a string value longer than 40 bytes. But in my test case, it seems that maximum length supported by lsi is 40 bytes including ‘\0’ as the string record type. $ caput my:lsiout 12345678901234567890123456789012345678901234567890 Old : my:lsiout New : my:lsiout 123456789012345678901234567890123456789 $ caput -a my:lsiout 3 1 2 3 Old : my:lsiout New : my:lsiout Does the record type lsi support a long string longer than 40 bytes? If so, how can I read and write a long string value to a lsi record? If not, could anyone let me know the difference between lsi and stringin and any suggestion for my purpose? Thanks in advance. Sangwon |