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  <20202021  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  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: XSPRESS3 hdf5 problems
From: Matt Newville via Tech-talk <tech-talk at aps.anl.gov>
To: John Dobbins <john.dobbins at cornell.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 28 Jan 2020 08:43:42 -0600
Hi John, 



On Mon, Jan 27, 2020 at 2:22 PM John Dobbins <john.dobbins at cornell.edu> wrote:
My IOC is built but I have trouble with xspress3config, note that my Xspress3 chassis has more than 4 channels.

I changed the Y_SIZE (max_channels)  in xspress3/iocs/xspress3IOC/iocBoot/iocxspress3-4Channel/st.cmd to 6

xspress3Config("XSP3", "6", "1", "192.168.0.1", "16384", 16384, "4096", 0, 0, 1, 0)

but I get messages from xsp3_config that I don't understand

xspress3_config: Card 0
xspress3_config: host10GigeIPaddress 192.168.0.65
xspress3_config: femIPaddress 192.168.0.2
xspress3_config: fem10GigeIPaddress 192.168.0.66
xspress3_config: femMACaddress 2.0.0.0.0.0
xspress3_config: 1GigePort 30123
xspress3_config: 10GigePort 30124
xspress3_config: nchan 4
xspress3_config: scope module name xsp3_scope0
xsp3_config: Configuring node on path 0 name=192.168.0.2

then later

xsp3_config: Configuration found 6 chans_per_card on path 0
xsp3_set_num_chan: Max number of channels on path 0 is set to 6
xsp3_set_num_chan: Number of channels on path 0 is set as 4
Calculating generation from Revision 0x01003006, major=3, minor=6 => determined generation=0
Configuring software scalers for 16384 time frames
2020/01/27 14:12:31.130 xsp3_config returned XSP3_ERROR.
2020/01/27 14:12:31.130 API Error Message: xsp3_config: xsp3_mkmod3d: module 'xsp3_scalers0' exists but is wrong size (11,6, 16384) not (11, 4, 16384)
.
2020/01/27 14:12:31.130 EPICS Driver Calling Function: Xspress3::connect.
2020/01/27 14:12:31.130 XSPRESS3:det1:CONNECT devAsynInt32::processCallbackOutput process error


This error appears to come from the Quantum supplied library (?)

I don't know what it is trying to tell me

John

Do you have and are you loading Xspress3 settings and calibrations files for 6 channels or for 4 channels?  Somewhere in the IOC startup, you have to define where these settings files are, with something like

     dbpf("$(PREFIX)det1:CONFIG_PATH", "/home/xspress3/xspress3_settings/current/")


And these settings really should be for the correct number of channels.  If you change the number of channels I believe you need to remove the shared memory files in /dev/shm/xsp3*.  These files will be re-created when the IOC restarts the xspress3 server.  

--Matt Newville

Replies:
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
References:
XSPRESS3 hdf5 problems John Dobbins via Tech-talk
RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
Re: XSPRESS3 hdf5 problems Matt Newville via Tech-talk
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
Re: XSPRESS3 hdf5 problems John Dobbins via Tech-talk

Navigate by Date:
Prev: Re: PicoScope support? Gerrit Kühn via Tech-talk
Next: Re: XSPRESS3 hdf5 problems John Dobbins 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE: XSPRESS3 hdf5 problems Mark Rivers via Tech-talk
Next: Re: XSPRESS3 hdf5 problems John Dobbins 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  <20202021  2022  2023  2024 
ANJ, 29 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·