You cannot store a long string in a stringin record.
However, you can store a long string in a waveform record with FTVL=CHAR. caget, medm and other clients know how to display this correctly.
Here is an example:
corvette:~>cainfo GSE-PIL1:cam1:FullFileName_RBV
GSE-PIL1:cam1:FullFileName_RBV
State: connected
Host: 164.54.160.161:5064
Access: read, write
Native data type: DBF_CHAR
Request type: DBR_CHAR
Element count: 256
corvette:~>caget -S GSE-PIL1:cam1:FullFileName_RBV
GSE-PIL1:cam1:FullFileName_RBV /cars5/Data/gpd_user/data/idc/2014/run1/eng/testing/images/testing_1/S045/stubbs_test_1002.tif
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Ganesh Jangir [[email protected]]
Sent: Tuesday, February 25, 2014 5:32 AM
To: [email protected]
Subject: Store long strings in EPICS record.
Dear All,
How to store array of strings, char arr[64][64] or a long string of size (65x64) byte in to EPICS record.
Its needed to communicate via Channel Access to Sequencer.What are the suitable ways to achieve this.
How to increase size of record type stringIn.
Thanks and Regards
Ganesh Jangir
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
- Replies:
- RE: Store long strings in EPICS record. Zelazny, Michael Stanley
- References:
- Store long strings in EPICS record. Ganesh Jangir
- Navigate by Date:
- Prev:
Store long strings in EPICS record. Ganesh Jangir
- Next:
Monitoring whether an IP device is connected or not David Michel
- 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
- Navigate by Thread:
- Prev:
Store long strings in EPICS record. Ganesh Jangir
- Next:
RE: Store long strings in EPICS record. Zelazny, Michael Stanley
- 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
|