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  <20212022  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  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RE: Mistaken code problem of file path in plugin NDFileTIFF
From: shenzb--- via Tech-talk <tech-talk at aps.anl.gov>
To: rivers <rivers at cars.uchicago.edu>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 10 Mar 2021 09:41:03 +0800
Dear Mark,

After I rebooted the computer, the problem was gone. Everything works well now, and my files are saved. Maybe it is because of the Chinese IDE I am using?

In any case, thank you so much for your help.



Best regards,
--
Zhibang Shen

 
Date: 2021-03-02 21:40
Subject: RE: Mistaken code problem of file path in plugin NDFileTIFF

Hi Zhibang,

 

I don’t understand what the problem could be.  It works fine for me.  Here is a screen shot:

 

 

Note that I entered the FilePath using forward slashes “/” just as you did.  Because I did not enter a final “/” the plugin added a backslash “\”, which is what it should do, and it did this for you as well.

 

I don’t get any error, it is working OK for me to save files.

 

The only thing that looks unusual to me is that in your error message it seems to be replacing C: with a Chinese character.  I don’t know enough about how Windows handles other languages to know if this might be a problem.  Perhaps the areaDetector code is not treating such characters correctly.  Is it possible to try some other location that would not have a Chinese character in it?

 

Please send a screen shot of your screen.

 

What version of ADCore are you using?

 

Mark

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of shenzb--- via Tech-talk
Sent: Tuesday, March 2, 2021 3:46 AM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: Mistaken code problem of file path in plugin NDFileTIFF

 

Hi,

 

I am developing my areaDetector driver for detector Minipix on windows-x64. Here is a problem that when I tested setting FilePath in plugin NDFileTIFF, a write error always came up. The beginning of the path string was wired. Like when I set the path "C:/Users/ihep/Desktop", it reported:

 

2021/03/02 17:27:07.396 NDFileTIFF:openFile error opening file :/Users/ihep/Desktop\testTiff_000.tif

2021/03/02 17:27:07.396 NDPluginFile::openFileBase Error opening file :/Users/ihep/Desktop\testTiff_000.tif, status=3

 

I tried caput and medm both, but neither worked. I don't know if there is any specical setup that I missed when I install areaDetector or something else. Can anyone help? Thanks in advance.

 

 


Best regards,

--

Zhibang Shen

 


References:
Mistaken code problem of file path in plugin NDFileTIFF shenzb--- via Tech-talk
RE: Mistaken code problem of file path in plugin NDFileTIFF Mark Rivers via Tech-talk

Navigate by Date:
Prev: STS hiring an IT System Architect-Engineer Hartman, Steven via Tech-talk
Next: StreamDevice with waveforms Randall Cayford 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  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Mistaken code problem of file path in plugin NDFileTIFF Mark Rivers via Tech-talk
Next: motor record - how to turn off asyn error messages for a single motor Luchini, Kristi L. 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  <20212022  2023  2024 
ANJ, 10 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·