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  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: RE: Question related to PV record
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Vandana Yadav <vandanayadav477@gmail.com>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 6 Mar 2017 14:08:06 +0000
Hi Vandana,

The mechanism in EPICS when an error like that occurs is not to clear the last stored value.  Rather the mechanism is to put the record into an "alarm" state.  caget should report the alarm state of the record, and you can display the alarm state on the standard EPICS GUI displays.

When the link is broken you can display the full state of the record with the following command at the iocsh shell.

dbpr "myRecord" 10

Please send the output of that command so we can see if the record is correctly being placed into an alarm state.

Mark

________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Vandana Yadav [vandanayadav477@gmail.com]
Sent: Monday, March 06, 2017 4:05 AM
To: tech-talk@aps.anl.gov
Subject: Question related to PV record

Hi,

I am trying to communicate a device using RS-232 serial interface supported by EPICS. For that purpose, I have done the basic things such as creating IOC, installing StreamDevice and AsynDriver.

I am facing the problem that if the link is broken or not connected then the last stored values are being displayed in IOC by putting caget and caput commands. How can i resolve this ? Is there any procedure to clear the last stored value ?

Thanks in advance!

Regards,
Vandana




Replies:
Re: Question related to PV record Kasemir, Kay
References:
Question related to PV record Vandana Yadav

Navigate by Date:
Prev: Question related to PV record Vandana Yadav
Next: Re: Question related to PV record Kasemir, Kay
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
Navigate by Thread:
Prev: Question related to PV record Vandana Yadav
Next: Re: Question related to PV record Kasemir, Kay
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
ANJ, 06 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·