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  <20182019  2020  2021  2022  2023  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Starting Directory for File Selector in Display Editor
From: "Kasemir, Kay" <[email protected]>
To: "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 2 May 2018 19:33:45 +0000
> 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

Replies:
RE: Starting Directory for File Selector in Display Editor Gregory, Ray
References:
Starting Directory for File Selector in Display Editor Gregory, Ray

Navigate by Date:
Prev: Starting Directory for File Selector in Display Editor Gregory, Ray
Next: RE: Starting Directory for File Selector in Display Editor Gregory, Ray
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Starting Directory for File Selector in Display Editor Gregory, Ray
Next: RE: Starting Directory for File Selector in Display Editor Gregory, Ray
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  2020  2021  2022  2023  2024 
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 ·