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

Subject: Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix
From: John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
To: "Wlodek, Jakub" <jwlodek at bnl.gov>, Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 20 Oct 2022 16:08:03 +0000
Jakub,

Thanks, that is clever.

John

From: Wlodek, Jakub <jwlodek at bnl.gov>
Sent: Thursday, October 20, 2022 11:55 AM
To: John Dobbins <john.dobbins at cornell.edu>; Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix
 
Hi all,

Here at NSLS2 I believe we use the following scripts to pre-load the correct PV prefix for the CA and PVA viewers respectively - the scripts are called from a button on our screens with the PV prefix as an argument:

[jwlodek@xf06bm-ws3 /]$ more /opt/css/opi/production/cs-studio-xf/ADet/nsls2edits/ImageJ_macros/css_imagej.sh
export EPICS_CA_MAX_ARRAY_BYTES=6000000
cd ~
rm EPICS_AD_Viewer.properties
echo "PVPrefix=$1" > EPICS_AD_Viewer.properties
imagej -m ~/.imagej/macros/CSS_epics.ijm

[jwlodek@xf06bm-ws3 /]$ more /opt/css/opi/production/cs-studio-xf/ADet/nsls2edits/ImageJ_macros/css_imagej_pva.sh
cd ~
rm EPICS_NTNDA_Viewer.properties
echo "channelName=$1" > EPICS_NTNDA_Viewer.properties
imagej -m ~/.imagej/macros/CSS_epics_pva.ijm

Not exactly a command line flag, but has been convenient for us.

Best,
Jakub

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, October 20, 2022 11:45 AM
To: John Dobbins <john.dobbins at cornell.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix
 
I don’t know how to pass the prefix but that would be a useful if we can figure out how to do it.

Mark


Sent from my iPhone

On Oct 20, 2022, at 10:32 AM, John Dobbins via Tech-talk <tech-talk at aps.anl.gov> wrote:


All,

I can start ImageJ with 

./ImageJ --run EPICS_AD_Viewer

and the EPICS_AD_Viewer is opened.

Is there a way to pass the PVPrefix at the command line?

John Dobbins

Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University





References:
starting ImageJ/EPICS_AD_Viewer with specified PVPrefix John Dobbins via Tech-talk
Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix Mark Rivers via Tech-talk
Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix Wlodek, Jakub via Tech-talk

Navigate by Date:
Prev: Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix Wlodek, Jakub via Tech-talk
Next: RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
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  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: starting ImageJ/EPICS_AD_Viewer with specified PVPrefix Wlodek, Jakub via Tech-talk
Next: Phoebus Alarm Server - Alarm acknowledgement from EPICS record Ian Gillingham via Tech-talk
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  2018  2019  2020  2021  <20222023  2024 
ANJ, 21 Oct 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·