EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: can't initialize record field with string
From: Burkhard Kolb <[email protected]>
To: haquin <[email protected]>
Cc: [email protected]
Date: Mon, 26 Oct 2009 16:05:49 +0100
haquin wrote:
Hi,

I initialize the INPH (with macro substitution) of a gensub record with a string,
but it is never transferred to the corresponding H variable ...

in the IOC shell I use the commands:
epics> dbgf MyGensub.INPH
       DBR_STRING:          MyString NPP NMS

epics> dbgf MyGensub.H
       DBR_STRING:

The behaviour is different if I use LONG instead of STRING ...

Can someone tell me how to do retreive MyString in MyGensub.H ?


Inputs and Output of genSub record are links. So if MyString would be the
name of another record and the contents would be "ABC", then
MyGensub.H would contain "ABC".

Hope this helps.

--
Dr. Burkhard Kolb
HADES
E-Mail: [email protected]
Tel: +49-(6159)-71-2667 / Fax: +49-(6159)-71-2155

GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1 / D-64291 Darmstadt / www.gsi.de

Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Darmstadt
Handelsregister: Amtsgericht Darmstadt, HRB 1528

Geschäftsführer: Professor Dr. Horst Stöcker, Christiane Neumann
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt


References:
can't initialize record field with string haquin

Navigate by Date:
Prev: can't initialize record field with string haquin
Next: Re: macLib/msi changes with 3.14.10 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: can't initialize record field with string haquin
Next: Re: can't initialize record field with string Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024