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  <20112012  2013  2014  2015  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: calc doesn't appear to be working with MEDM for string expressions (Win32 Extension Version 1.40)
From: Tim Mooney <[email protected]>
To: Jay Steele <[email protected]>
Cc: [email protected]
Date: Thu, 3 Feb 2011 09:36:10 -0600 (CST)
Jay, You can do this with an sCalcout record.
Tim

----- Original Message -----
From: "Jay Steele" <[email protected]>
To: [email protected]
Sent: Wednesday, February 2, 2011 5:21:26 PM
Subject: calc doesn't appear to be working with MEDM for string expressions	(Win32 Extension Version 1.40)




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. 

-- 
Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab



References:
calc doesn't appear to be working with MEDM for string expressions (Win32 Extension Version 1.40) Jay Steele

Navigate by Date:
Prev: Re: USB-scopes, anyone? Richard Farnsworth
Next: EPICS Codeathon 2011 Andrew Johnson
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  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: calc doesn't appear to be working with MEDM for string expressions(Win32 Extension Version 1.40) Mark Rivers
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  2019  2020  2021  2022  2023  2024 
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 ·