Subject: |
How to pass constant string into a genSub or sub record |
From: |
Susanna Jacobson <[email protected]> |
To: |
EPICS tech-talk <[email protected]> |
Date: |
Thu, 05 Aug 2004 03:06:00 -0700 |
Hi folks,
This concerns subroutine and genSub records in EPICS R3.13.4.
I need to pass a string into a subroutine or general subroutine
record at initialization time because I don't want to fix the information
in the code for the record's init and process routines.
So I assigned the string to an input link in the .db file, just as one
would pass a numeric constant. However, the record interprets the string
as a PV name, which generates a lot of pointless network traffic as link
processing looks for a record with that name.
Is there a way to tell the record that the string is a constant and
not a PV name? Do I have to use a string record to hold the string
and use the input link as a link? Or is there another, better way to
do it?
Thanks in advance,
Susanna
--
=====================================================================
Susanna Jacobson MS 10-110
[email protected] Lawrence Berkeley National Laboratory
VOICE: (510) 486-7801 1 Cyclotron Road
FAX: (510) 486-7374 Berkeley, CA 94720
=====================================================================
- Replies:
- Re: How to pass constant string into a genSub or sub record Peregrine McGehee
- Navigate by Date:
- Prev:
RE: Program calling CA from witrin a posix signal handler Jeff Hill
- Next:
Re: How to pass constant string into a genSub or sub record Peregrine McGehee
- 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: problem with the monitor-function (c++) Jeff Hill
- Next:
Re: How to pass constant string into a genSub or sub record Peregrine McGehee
- 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
|