Closed mrakitin closed 5 years ago
I realized it may not be necessary with the profile-level fix: https://github.com/NSLS-II-XPD/profile_collection/pull/1/commits/983f7836e6a183c1ab4479b36fa1eb9c3915dc82.
sub-classing may be a better solution is both cases.
Good idea, @tacaswell! Do we still want it here in nslsii?
I updated the code so that the new QuadEMV33 is subclassed from QuadEM with the new StatsPluginV33 for the currents and sum_all. I'll update the XPD's profile accordingly.
Also, I replaced the confusing C
with ADCpt
as it's used in Ophyd.
Finally, added QuadEMPort to avoid having it in the BL profiles.
I tested this fix on xf28id2-ws6 with the source-installed code from this PR branch into collection-2018-3.2, works great after the recent fixes with https://github.com/NSLS-II-XPD/profile_collection/pull/1/files. I think we should merge it soon and tag a new version of nslsii, build it, generate a minor env files (2018-3.3), and push to all XPD's machines, since they requested to do it for the experiments.
This is used at XPD with the AD33 StatsPlugin: https://github.com/NSLS-II-XPD/profile_collection/pull/1.