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: MEDM display of string records not updating from PCASpy/PyEpics
From: Mark Rivers <rivers@cars.uchicago.edu>
To: 'keith.thorne' <kthorne@ligo-la.caltech.edu>, EPICS mailing list <tech-talk@aps.anl.gov>
Date: Tue, 12 Sep 2017 17:21:36 +0000
Hi Keith,

Some questions:

- What does command line cainfo say about that PV?
- What does command line caget show for that PV?
- In your medm display what "Format" have you selected for the text update widget, e.g. "decimal", "string", etc.?

Mark


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of keith.thorne
Sent: Tuesday, September 12, 2017 11:52 AM
To: EPICS mailing list
Subject: MEDM display of string records not updating from PCASpy/PyEpics

Dear all

	We have an odd behavior here with a continuously-running MEDM display.

In most cases, where the EPICS IOC is running in C or similar, the MEDM displays of string variables happily update when the underlying PV is updated.

However, we have a simple EPICS database that is done with PCASpy. We then use a pyEpics client to regularly update records in the EPICS database using pvPut().

The updated numeric records all work fine.  However, the string records (when updated) appear as 00.00 or similar in the MEDM display.
If we open a new MEDM display, the correct value is shown.  If we slightly resize the MEDM display, it also updates.

Any idea what is going on?
Is there something in the PCASpy database record fields we need to set to make this work?

- Using command-line caput() we get updated values.

— I was going to try an MEDM->caQtDM conversion to see if we get any different behavior.

Thanks
	Keith Thorne

------
Keith Thorne <kthorne@ligo-la.caltech.edu>
CDS Software Engineer
LIGO Livingston Laboratory
Livingston, LA 70754
Phone: (225)686-3168 Fax: (225)686-7189


Replies:
Re: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
References:
MEDM display of string records not updating from PCASpy/PyEpics keith.thorne

Navigate by Date:
Prev: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
Next: Re: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
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: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
Next: Re: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
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, 12 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·