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 Menu Object with non-sequential choices
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "'Newby, Mary A'" <mary.a.newby@boeing.com>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 20 Feb 2017 19:39:48 +0000

Hi Mary,

 

I think you may be confusing the enum index with the enum value in an mbbo record, for example.  Are you skipping enum indices because you think the enum values need to match the enum index?  They do not.

 

Here is an example:

record(mbbo, "$(P)$(R)TriggerMode")

{

   field(ZRST, "Internal")

   field(ZRVL, "0")

   field(ONST, "External")

   field(ONVL, "1")

   field(TWST, "External Start")

   field(TWVL, "6")

   field(THST, "External Exposure")

   field(THVL, "7")

   field(FRST, "External FVP")

   field(FRVL, "9")

   field(FVST, "Software")

   field(FVVL, "10")

}

 

Note that the indices are consecutive (ZR-FV) but the values are not.  This will display nicely in medm with no missing lines, but the correct value will be sent to the driver.

 

Mark

 

 

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Newby, Mary A
Sent: Monday, February 20, 2017 12:52 PM
To: tech-talk@aps.anl.gov
Subject: Medm Menu Object with non-sequential choices

 

I am a new user to MEDM, and I am wondering if it possible to tie a non-sequential list of enumeration values to a menu object?  I have attempted to do this, however, for the enumeration values that are not in the record, the menu displays a blank line for this values and we don’t want the blank lines. 

 

Mary Newby


References:
Medm Menu Object with non-sequential choices Newby, Mary A

Navigate by Date:
Prev: Medm Menu Object with non-sequential choices Newby, Mary A
Next: RE: Medm Menu Object with non-sequential choices Arnold, Ned D.
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 Menu Object with non-sequential choices Newby, Mary A
Next: RE: Medm Menu Object with non-sequential choices Arnold, Ned D.
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, 20 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·