-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xspress::checkConnected ERROR: we are not connected. #37
Comments
@PeiyuQuan The "We are not connected" error does mean that the IOC did not connect to the xspress3.
I'm sure there are other possible reasons.... The startup script does have to match the number of detector elements. If that size has changed (say, a different detector is being used), it can sometimes work to delete the files in and restart the IOC -- those shared-memory files will be generated (with the correct size) if needed. |
Hello Newville I think IP address is correct, Because most functions of EPICS is working. I can set it. Only status show no connection. I think the Item 2 you told me is a possible issue. The connection between xspress 3 and detector has issue. we uses vortes single element detector. Does Xspress3 have factory- software? I need test it where the issue is from. |
Newville |
Yes, the program
I'm not 100% sure about your system, but the Epics IOC needs to find a set of files defining the calibration and processing parameters for each detector element. These are loaded by the IOC after iocInit with something like: #Configure and connect to Xspress3 That folder will need to contain the correct calibration files for your detector. When running the And, again, if the number of detector elements has changed or you have exchanged actual detectors, you may want to remove all of the |
Hello Newville |
Hello
I installed a xspress3 EPICS driver in centos 8 linux computer. The IOC has been connected and most MEDM functions have worked.
But there are an information in IOC output:
2023/01/04 15:37:42.071 BL00:X3:det1:CONNECT devAsynInt32::processCallbackOutput process write error
2023/01/04 15:37:42.071 Xspress3::checkConnected ERROR: We are not connected.
2023/01/04 15:37:42.071 BL00:X3:det1:TriggerMode devAsynInt32::processCallbackOutput process write error
What means are those errors? I thought it happens I didn't connect to the detector. But When i connected a dectector, the errors are still there.
Thank you
Peiyu Quan
create_monitor_set("auto_settings.req",30,"P=BL00:X3:")
epicsThreadSleep(5.)
debug level 0
2023/01/04 15:37:42.071 xsp3_config returned XSP3_ERROR.
2023/01/04 15:37:42.071 API Error Message: xsp3_config: xsp3_config: Cannot initialise Fem 192.168.0.3 on port 30123.
2023/01/04 15:37:42.071 EPICS Driver Calling Function: Xspress3::connect.
2023/01/04 15:37:42.071 BL00:X3:det1:CONNECT devAsynInt32::processCallbackOutput process write error
2023/01/04 15:37:42.071 Xspress3::checkConnected ERROR: We are not connected.
2023/01/04 15:37:42.071 BL00:X3:det1:TriggerMode devAsynInt32::processCallbackOutput process write error
auto_settings.sav: 831 of 831 PV's connected
Set default event widths for deadtime correction
note: these may be tuned for each detector:
dbpf("$(PREFIX)C1:EventWidth", "6")
dbpf("$(PREFIX)C2:EventWidth", "6")
Xspress3 is now ready to use!
epics>
The text was updated successfully, but these errors were encountered: