EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: stringout in softIOC
From: Al Honey <[email protected]>
To: "'[email protected]'" <[email protected]>
Date: Mon, 3 Apr 2017 17:45:33 +0000

Hi

I’m having some issues with stringout records in a softIOC (r3.14.12.5 on Linux).

There are two records (in my contrived example below) the only difference between the two records is in the DOL field, [UBACKLASH] versus [“UBACKLASH”].

soutT1 is loaded and the DOL field is interpreted as a CA_LINK and the OUT field as DB_LINK.

soutT2 has the value of DOL in double quotes, which was my attempt to force it to be a constant. When loaded both DOL and OUT get set to CONSTANT. The DOL value is lost and I don’t understand why OUT does not remain as a DB_LINK.

 

Thanks,

Al

 

record(stringout,"soutT1") {

    field(DESC,"string output record")

    field(SCAN,"Passive")

    field(DTYP,"Soft Channel")

    field(VAL,"string")

    field(DOL,"UBACKLASH")

    field(OMSL,"supervisory")

    field(OUT,"param.VAL PP")

}

record(stringout,"soutT2") {

    field(DESC,"string output record")

    field(SCAN,"Passive")

    field(DTYP,"Soft Channel")

    field(VAL,"string")

    field(DOL,""UBACKLASH"")                 

    field(OMSL,"supervisory")

    field(OUT,"param.VAL PP")

}

 

 

epics> dbpr soutT1,4

DESC: string output record             

DOL:CA_LINK UBACKLASH NPP

DTYP: Soft Channel 

NAME: soutT1       

OMSL: supervisory  

OUT:DB_LINK param.VAL PP NMS           

OVAL: string       

SCAN: Passive      

TSEL:CONSTANT      

 VAL: string        

 

 

epics> dbpr soutT2,4

DESC: string output record             

DOL:CONSTANT       

DTYP: Soft Channel 

NAME: soutT2       

OMSL: supervisory  

OUT:CONSTANT       

OVAL: string       

SCAN: Passive      

TSEL:CONSTANT      

VAL: string


Replies:
Re: stringout in softIOC Andrew Johnson

Navigate by Date:
Prev: Re: Reset integral pv and store it Ralph Lange
Next: Re: stringout in softIOC Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Reset integral pv and store it Ralph Lange
Next: Re: stringout in softIOC Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024