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 <2022> 2023 2024 2025 | 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 <2022> 2023 2024 2025 |
<== 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:
|