Experimental Physics and Industrial Control System
|
Aha, I see. How does the terminating 0 byte look like? Like char c=0; ?
Does CSS BOY read the terminating 0 byte in a waveform of char?
On Fri, Jun 1, 2012 at 1:08 AM, Andrew Johnson <[email protected]> wrote:
Hi Pavel,
On 2012-05-31 Pavel Masloff wrote:
> How do clients (IOC subroutines) treat strings which are less than NELM,
> there will obviously be white spaces (or how is a waveform initialized?)
Each individual 40-character string in the array is supposed to have a
terminating 0 byte, although CA may transport all 40 bytes. Clients should be
prepared to handle values that fill all 40 characters and should terminate the
string after the 40th character if necessary. Since we use calloc() to
allocate the buffer all elements should start out empty.
Is that what you were asking?
- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
-- Best regards,
Pavel Maslov, MS Controls Engineer at Pulsed power Lab Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia
Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01
- References:
- waveform of STRING memory structure Pavel Masloff
- Re: waveform of STRING memory structure Andrew Johnson
- Re: waveform of STRING memory structure Pavel Masloff
- Re: waveform of STRING memory structure Andrew Johnson
- Navigate by Date:
- Prev:
Re: Proposed change in asyn - request for comments Bruce Hill
- Next:
asynManager isConnected matthew.pearson
- 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:
Re: waveform of STRING memory structure Andrew Johnson
- Next:
asynManager isConnected matthew.pearson
- 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
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|