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

Subject: Re: ImageJ from waveform record
From: "Steve Kinder" <[email protected]>
To: "Mark Rivers" <[email protected]>, "tech-talk" <[email protected]>
Date: Wed, 4 Jul 2012 21:43:44 +0100
Hi Mark

Thanks for that, has enabled me to make progress and saved me time looking through the source. Should be able to get things working as I want now.

Steve

-----Original Message----- From: Mark Rivers
Sent: Wednesday, July 04, 2012 12:57 PM
To: Steve Kinder ; tech-talk
Subject: RE: ImageJ from waveform record

Hi Steve,

The ImageJ plugin assumes that the EPICS PVs are named as follows, which are the names in the NDPluginStdArrays plugin in areaDetector:

           ch_nx = createEPICSChannel(PVPrefix + "ArraySize0_RBV");
           ch_ny = createEPICSChannel(PVPrefix + "ArraySize1_RBV");
           ch_nz = createEPICSChannel(PVPrefix + "ArraySize2_RBV");
           ch_colorMode = createEPICSChannel(PVPrefix + "ColorMode_RBV");
           ch_image = createEPICSChannel(PVPrefix + "ArrayData");
           ch_image_id = createEPICSChannel(PVPrefix + "UniqueId_RBV");

PVPrefix: There are no limitations on what the PVPrefix is.

ColorMode_RBV
 0: mono, ArraySize0_RBV=NX, ArraySize1_RBV=NY
 1: Bayer, ArraySize0_RBV=NX, ArraySize1_RBV=NY
 2: RGB1, ArraySize0_RBV=3, ArraySize1_RBV=NX, ArraySize2_RBV=NY
 3: RGB2, ArraySize0_RBV=NX, ArraySize1_RBV=3, ArraySize2_RBV=NY
 4: RGB3, ArraySize0_RBV=NX, ArraySize1_RBV=NY, ArraySize2_RBV=3

ArrayData: The waveform record.

UniqueId_RBV: This is a number that must increment when a new image is available. The viewer puts a CA monitor on this PV and does a ca_get() on the ArrayData PV. It does not put a monitor on the ArrayData PV directly, because it would then need to change its subscription each time the dimensions or color mode of the image changed, or else it would not get the correct size.

If you have PVs in your IOC that have this naming convention and behavior then it should work.

Mark



________________________________
From: [email protected] [[email protected]] on behalf of Steve Kinder [[email protected]]
Sent: Wednesday, July 04, 2012 6:04 AM
To: tech-talk
Subject: ImageJ from waveform record

Is it possible to use the ImageJ plugin to display data being put into a waveform record from a source other than AreaDetector? I have an IOC with image data in a waveform and corresponding NX/NY/NZ records. I’m not sure what to use for the PVPrefix. I have just used the waveform record name, plus a :, but I get “Cannot connect to EPICS PVs” errors. I suspect this must be wrong.

Thanks

Steve



References:
ImageJ from waveform record Steve Kinder
RE: ImageJ from waveform record Mark Rivers

Navigate by Date:
Prev: RE: On compatibility Mark Rivers
Next: Re: 回复: Re: Re: Problems when download synApps IOC Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: ImageJ from waveform record Mark Rivers
Next: Question about CA event (i.e. monitor) time order Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·