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: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 'John Dobbins' <john.dobbins at cornell.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 28 Jan 2020 18:58:54 +0000

Hi John,

 

Which iocBoot/iocXXX are you running, or using as an example?  I believe Matt has updated the files in iocGSECARS-4Channel so you should probably use those as your model.

 

The ROI time-series PVs changed with recent versions of areaDetector, and all of the other SCAROI.cmd files are old:

 

corvette:iocs/xspress3IOC/iocBoot>ls -l */*.cmd

-rw-rw-r-- 1 epics domain users   667 May 17  2019 iocDualMini_4Channel/AutoSave.cmd

-rw-rw-r-- 1 epics domain users  9851 May 17  2019 iocDualMini_4Channel/SCAROI.cmd

-rw-rw-r-- 1 epics domain users  1649 May 17  2019 iocDualMini_4Channel/defaultValueLoad.cmd

-rw-rw-r-- 1 epics domain users  3651 May 17  2019 iocDualMini_4Channel/defaultValuesChan.cmd

-rw-rw-r-- 1 epics domain users  3990 May 17  2019 iocDualMini_4Channel/st.cmd

-rw-rw-r-- 1 epics domain users  2151 May 17  2019 iocDualMini_4Channel/use_allrois.cmd

-rw-rw-r-- 1 epics domain users   667 Feb 22  2017 iocGSECARS-4Channel/AutoSave.cmd

-rw-rw-r-- 1 epics domain users 12198 Dec  6 16:44 iocGSECARS-4Channel/SCAROI.cmd

-rw-rw-r-- 1 epics domain users  1660 Dec  6 16:44 iocGSECARS-4Channel/defaultValueLoad.cmd

-rw-rw-r-- 1 epics domain users  4607 Dec  6 16:44 iocGSECARS-4Channel/defaultValuesChan.cmd

-rw-rw-r-- 1 epics domain users  3965 Apr  1  2019 iocGSECARS-4Channel/st.cmd

-rw-rw-r-- 1 epics domain users   663 Feb 22  2017 ioc_14Channel/AutoSave.cmd

-rw-rw-r-- 1 epics domain users  7671 Feb 22  2017 ioc_14Channel/SCAROI.cmd

-rw-rw-r-- 1 epics domain users  3176 Feb 22  2017 ioc_14Channel/defaultValueLoad.cmd

-rw-rw-r-- 1 epics domain users  1326 Feb 22  2017 ioc_14Channel/defaultValuesChan.cmd

-rw-rw-r-- 1 epics domain users  4865 Feb 22  2017 ioc_14Channel/st.cmd

-rw-rw-r-- 1 epics domain users   667 Feb 22  2017 iocxspress3-4Channel/AutoSave.cmd

-rw-rw-r-- 1 epics domain users  8075 Feb 22  2017 iocxspress3-4Channel/SCAROI.cmd

-rw-rw-r-- 1 epics domain users  1766 Feb 22  2017 iocxspress3-4Channel/defaultValueLoad.cmd

-rw-rw-r-- 1 epics domain users  1211 Feb 22  2017 iocxspress3-4Channel/defaultValuesChan.cmd

-rw-rw-r-- 1 epics domain users  3582 Feb 22  2017 iocxspress3-4Channel/st.cmd

 

Mark

 

From: John Dobbins <john.dobbins at cornell.edu>
Sent: Tuesday, January 28, 2020 12:25 PM
To: tech-talk at aps.anl.gov
Cc: Mark Rivers <rivers at cars.uchicago.edu>; Matt Newville <newville at cars.uchicago.edu>
Subject: Re: XSPRESS3 hdf5 problems

 

First, thanks to Matt Newville and Mark Rivers for your help in getting my XSPRESS3 IOC running. (I'll post later it it actually fixes our original problem.)

 

I have two questions related to the IOC:

 

On IOC start-up I get 48 messages (6 channels x 8 SCAs) of this type:

 

devAsynFloat64Array::initCommon, XSPRESS3:C1SCA1:TSArrayValue connectDevice failed asynManager:connectDevice port XSP3.C1SCA_TS not found

devAsynFloat64Array::initCommon, XSPRESS3:C1SCA2:TSArrayValue connectDevice failed asynManager:connectDevice port XSP3.C1SCA_TS not found

devAsynFloat64Array::initCommon, XSPRESS3:C1SCA3:TSArrayValue connectDevice failed asynManager:connectDevice port XSP3.C1SCA_TS not found

.

.

.

 

 

Plus this message:

 

2020/01/28 12:57:33.650 asynNDArrayDriver:readNDAttributesFile: unknown attribute type = INT for attribute CHAN1DTCFLAGS

 

 

Any advice would be appreciated.

 

Thanks,

 

John

 

 

 


From: John Dobbins <john.dobbins at cornell.edu>
Sent: Tuesday, January 28, 2020 10:51 AM
To: Matt Newville <newville at cars.uchicago.edu>
Cc: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: XSPRESS3 hdf5 problems

 

Matt,

 

Thanks, I knew nothing about the  /dev/shm/xsp3*  bit. That did the trick. The IOC now starts and connects.



John

 


From: Matt Newville <newville at cars.uchicago.edu>
Sent: Tuesday, January 28, 2020 9:43 AM
To: John Dobbins <john.dobbins at cornell.edu>
Cc: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: XSPRESS3 hdf5 problems

 

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


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
Re: XSPRESS3 hdf5 problems Matt Newville 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: XSPRESS3 hdf5 problems John Dobbins via Tech-talk
Next: Re: XSPRESS3 hdf5 problems Matt Newville 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 John Dobbins via Tech-talk
Next: Re: XSPRESS3 hdf5 problems Matt Newville 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, 28 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·