John
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* Michael Davidsaver <mdavidsaver at gmail.com>
*Sent:* Thursday, April 21, 2022 12:23 PM
*To:* John Dobbins <john.dobbins at cornell.edu>
*Cc:* tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
*Subject:* Re: Waveforms in Archiver Appliance
On 4/21/22 09:14, John Dobbins wrote:
Michael ,
It turned out to be the array size/EPICS_CA_MAX_ARRAY_BYTES.
Was this in the IOC or Archiver?
fyi. Base >= 3.16.1 doesn't use EPICS_CA_MAX_ARRAY_BYTES any more (by default).
https://github.com/epics-base/epics-base/blob/7.0/documentation/RELEASE_NOTES.md#epics_ca_max_array_bytes-is-optional <https://github.com/epics-base/epics-base/blob/7.0/documentation/RELEASE_NOTES.md#epics_ca_max_array_bytes-is-optional>
I was only putting 50 values in the array but NELM =2048. Reducing NELM fixed the problem.
Also, thanks for the pointer to the policies info. I was wondering about that.
John
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* Michael Davidsaver <mdavidsaver at gmail.com>
*Sent:* Thursday, April 21, 2022 12:07 PM
*To:* John Dobbins <john.dobbins at cornell.edu>
*Cc:* tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
*Subject:* Re: Waveforms in Archiver Appliance
On 4/21/22 06:47, John Dobbins via Tech-talk wrote:
All,
Does the EPICS Archiver Appliance accept waveforms? The documentation suggests it does, but I was unable to add one (after initial sampling its status is 'not being archived').
You may be running afoul of a policy condition.
cf. the default policy.
https://github.com/slacmshankar/epicsarchiverap/blob/master/src/sitespecific/slacdev/classpathfiles/policies.py <https://github.com/slacmshankar/epicsarchiverap/blob/master/src/sitespecific/slacdev/classpathfiles/policies.py> <https://github.com/slacmshankar/epicsarchiverap/blob/master/src/sitespecific/slacdev/classpathfiles/policies.py <https://github.com/slacmshankar/epicsarchiverap/blob/master/src/sitespecific/slacdev/classpathfiles/policies.py>>
Thanks,
John Dobbins
Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University
www.chess.cornell.edu <http://www.chess.cornell.edu> <http://www.chess.cornell.edu <http://www.chess.cornell.edu>> <http://www.chess.cornell.edu <http://www.chess.cornell.edu <http://www.chess.cornell.edu>>>