Experimental Physics and Industrial Control System
|
Laznovsky, Michael wrote:
Hi- how can I get strings in & out of subroutine records?
It appears that the sub record tries to convert all its inputs
to "double" before calling the user function, and complains if it
fails. All I want is to read/write actual strings from inside
the function.
Right, you can't use the INP/OUT fields of a sub record for anything
other than doubles. As Andy Foster has said you could use a genSub
record, or if you only need one string you could use the psub->desc
field of the regular subroutine record (although it's only 28 characters
long). You could also consider writing your code as device support for
the stringin and/or stringout records.
- Andrew
--
There is no S in exprexxo.
- References:
- stringin/out <-> sub record ? Laznovsky, Michael
- Navigate by Date:
- Prev:
RE: gateway enum writes Mark Rivers
- Next:
Re: gateway enum writes Kate Feng
- 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: stringin/out <-> sub record ? Martin L. Smith
- Next:
SIGs Dalesio, Leo `Bob`
- 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, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|