Experimental Physics and
| |||||||||||||||||
|
Hi Li,
On Thu, Apr 12, 2018 at 8:44 AM, l123173 <[email protected]> wrote:
Do I understand correctly that the motors are being run from a soft IOC on the same PC running the xspress3 IOC? If that is the case, there should not be any connection issues.
We had a problem related to this with the first version of the xspress3 IOC software we got from the vendor. I am not 100% sure what they are currently shipping, but with the initial version we got (now several years ago) there was not a single "busy record" PV that erased the spectrum, started acquisition, and waited until the acquisition was done before returning. The sscan record needs this to operate properly, so it may still be the case that the vendor-supplied xspress3 module cannot work well with the sscan record. You should check this. Can you do a "caput with wait" to the "Start Acquisition" PV and have it erase the old spectra, start a new acquisition, and wait until the acquisition completes before returning? You might consider using the version at https://github.com/epics-modules/xspress3 which does have an EraseStart busy record that can be used with the sscan record. This version also uses areadDetector2 and changes how MCA ROIs are defined, using the ROIStats plugin, and has some other improvements. From recent discussions with the vendor, I know they *intend* to be using this version, but I am not certain if that is what they are shipping.
Are you aiming to save full spectra at each point in the scan, or just integrated ROIs? If just integrated ROIs, you should be able to use the PVs for the ROI values for the sscan detectors, and not bother with the HDF5 files at all. If you are aiming to save the full spectra, you can set up the HDF5 plugin to save files and advance the channel. In that case, you don't need to put anything in the sscan detector PVs, but you might want to put something like the counter (NumCaptured_RBV or UniqueID_RBV) of the HDF5 plugin as a "detector".
Sorry, I'm not sure on these. I don't really use the savefile mechanism or fancy array modes of the sscan record. --Matt Newville
| ||||||||||||||||
ANJ, 12 Apr 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |