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
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
|