EPICS Controls Argonne National Laboratory

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  <20142015  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  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to tag soft channels as undefined/disconnected
From: Andrew Johnson <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 14 Aug 2014 13:25:22 -0500
Oops, my bad, I mis-read the dbCommon.dbd file, UDF /is/ writable, but
writing to the UDF field of an ao record has little effect:

tux% caput anj:ao.UDF 1
Old : anj:ao.UDF                     0
New : anj:ao.UDF                     0

I think what happened is that the record processed as a result of the
put [since UDF is marked pp(TRUE)], and the process routine overrode the
1 that I set the UDF field to with a 0.

I /can/ set UDF to make an ai record go into UDF/INVALID alarm, but that
doesn't work on an ao record, where I have to write NaN to the VAL field
instead (the UDF field acts more like an output for an ao record).

My apologies to Andrew Starritt who was evidently using an ai record,
whereas Kellee and I were both using ao records.

- Andrew

On 08/14/2014 11:55 AM, Eric Norum wrote:
> 
>         ????
>         RRM says otherwise:
> 
> 
> 
>         Field Summary
> 
> Field	Type	DCT	Initial	Access	Modify	Rec Proc Monitor	PP
> STAT	GBLCHOICE	No	UDF_ALARM	Yes	No	Yes	
> SEVR	GBLCHOICE	No	INVALID_ALARM	Yes	No	Yes	
> NSTA	GBLCHOICE	No	No Alarm	Yes	No	No	
> NSEV	GBLCHOICE	No	No Alarm	Yes	No	No	
> ACKS	GBLCHOICE	No	No Alarm	Yes	No		 
> ACKT	GBLCHOICE	No	Yes	Yes	No		 
> UDF	UCHAR	No	1	Yes	Yes	No	Yes
> 
> 
> 
> 
> 
> 
> On Aug 14, 2014, at 9:35 AM, Andrew Johnson <[email protected]
> <mailto:[email protected]>> wrote:
> 
>> Hi Kellee,
>>
>> The UDF field is not writeable; you're not doing anything wrong, I don't
>> know how Andrew Starritt achieved the effect he talked about.
>>
>> If you want to put an ao record into a UDF alarm state, put a NaN value
>> into its VAL field:
> 
> -- 
> Eric Norum
> [email protected] <mailto:[email protected]>
> 
> 
> 
> 

-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

Replies:
Re: How to tag soft channels as undefined/disconnected Eric Norum
References:
How to tag soft channels as undefined/disconnected Kellee Summers
RE: How to tag soft channels as undefined/disconnected Lionberger, Carl A.
Re: How to tag soft channels as undefined/disconnected Kellee Summers
RE: How to tag soft channels as undefined/disconnected Andrew C. Starritt
Re: How to tag soft channels as undefined/disconnected Kellee Summers
Re: How to tag soft channels as undefined/disconnected Andrew Johnson

Navigate by Date:
Prev: ePID deadband on output Pearson, Matthew R.
Next: Re: How to tag soft channels as undefined/disconnected Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to tag soft channels as undefined/disconnected Andrew Johnson
Next: Re: How to tag soft channels as undefined/disconnected Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·