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  <20112012  2013  2014  2015  2016  2017  2018  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018 
<== Date ==> <== Thread ==>

Subject: calc doesn't appear to be working with MEDM for string expressions (Win32 Extension Version 1.40)
From: Jay Steele <jsteele@xradia.com>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 2 Feb 2011 15:21:26 -0800

Hi all,

    I’m trying to get the attached logic working with MEDM and string-valued record fields and it isn't working. For the _expression_ "A = B", the text always appears, regardless if string A is different or the same as string B. Do I need to do something special to make strings work with the MEDM calc functionality? Note that I'm using MEDM from EPICS WIN32 Extension Version 1.40.

 

    The A and B string sizes are 18 characters.

 

Here is the text from the adl file.

 

text {
 object {
  x=320
  y=205
  width=180
  height=14
 }
 "basic attribute" {
  clr=20
 }
 "dynamic attribute" {
  vis="calc"
  calc="A = B"
  chan="$(P)scan1.P1PV"
  chanB="$(P)scan2.P1PV"
 }
 textix="ERROR: SAME MOTORS"
 align="horiz. centered"
}

 

Thanks,

Jay Steele



The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.

Attachment: example MEDM calc.JPG
Description: example MEDM calc.JPG


Replies:
RE: calc doesn't appear to be working with MEDM for string expressions(Win32 Extension Version 1.40) Mark Rivers
Re: calc doesn't appear to be working with MEDM for string expressions (Win32 Extension Version 1.40) Tim Mooney

Navigate by Date:
Prev: Re: StreamDevice/ASYN connection to a Telnet port Maren Purves
Next: MVME3100 second Ethernet with RTEMS Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018 
Navigate by Thread:
Prev: Re: epics 3.14.12 and readline 5.1 Matt Rippa
Next: RE: calc doesn't appear to be working with MEDM for string expressions(Win32 Extension Version 1.40) Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·