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: RE: Starting Directory for File Selector in Display Editor
From: "Gregory, Ray" <gregoryrd@ornl.gov>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 2 May 2018 19:35:41 +0000
Thank you, Kay, for the helpful information.

--Ray

-----Original Message-----
From: Kasemir, Kay 
Sent: Wednesday, May 02, 2018 3:34 PM
To: Gregory, Ray <gregoryrd@ornl.gov>; tech-talk@aps.anl.gov
Subject: Re: Starting Directory for File Selector in Display Editor

> Is there a way to specify a starting directory for File Selector in Display Editor?

The file selector widget in the display builder has a string-valued PV.
The value of that PV is either a directory, a full path of directory and file name, or just a file name depending on how it's configured.
When you activate the file selector, is opens a file dialog with the current directory resp. file when the value of the PV has a directory in it.
So once you select something and it sets the PV, the next time you open the file selector it's back where you left it.

Initially, if the value of the PV should be empty, the file selector will use the directory in which CSS was started
For the SNS script that starts css, we have a line
  cd /the/beamline/directory
before launching CSS, so you'd then start out in that beamline directory.

-Kay

References:
Starting Directory for File Selector in Display Editor Gregory, Ray
Re: Starting Directory for File Selector in Display Editor Kasemir, Kay

Navigate by Date:
Prev: Re: Starting Directory for File Selector in Display Editor Kasemir, Kay
Next: Request: Survey of EPICS PVA ( a.k.a EPICS V4) users Williams Jr., Ernest L.
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: Re: Starting Directory for File Selector in Display Editor Kasemir, Kay
Next: Request: Survey of EPICS PVA ( a.k.a EPICS V4) users Williams Jr., Ernest L.
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, 02 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·