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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: medm color map question
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 17 Oct 2018 16:26:03 +0000

Folks,

 

Most medm adl files I have seen have color map definitions that look like this:

 

"color map" {

        ncolors=65

        colors {

                ffffff,

                ececec,

                dadada,

                c8c8c8,

                bbbbbb,

                aeaeae,

                9e9e9e,

                919191,

                858585,

                787878,

                696969,

                5a5a5a,

                464646,

                2d2d2d,

                000000,

                00d800,

                1ebb00,

 

However, some have color maps that look like this:

"color map" {

        ncolors=65

        dl_color {

                r=255

                g=255

                b=255

                inten=255

        }

        dl_color {

                r=236

                g=236

                b=236

                inten=0

        }

        dl_color {

                r=218

                g=218

                b=218

                inten=0

        }

        dl_color {

                r=200

                g=200

                b=200

                inten=0

        }

        dl_color {

                r=187

                g=187

                b=187

                inten=0

        }

        dl_color {

                r=174

                g=174

                b=174

                inten=0

        }

 

 

The adl2edl program does not handle color maps in the second format.  Can anyone tell me what causes medm to use one format vs the other, and is there a way to convert color maps in the second format to be in the first format?

 

Thanks,

Mark

 

 

 


Replies:
Re: medm color map question Wang Xiaoqiang (PSI)
Re: medm color map question Johnson, Andrew N.

Navigate by Date:
Prev: RE: Camera Recommendations [SEC=UNCLASSIFIED] Mark Rivers
Next: Re: medm color map question Wang Xiaoqiang (PSI)
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  <20182019 
Navigate by Thread:
Prev: CA Gateway 2.1.1 released Ralph Lange
Next: Re: medm color map question Wang Xiaoqiang (PSI)
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  <20182019 
ANJ, 17 Oct 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·