-
Hello, I am developing a SAR REST client in LabVIEW. I am able to save snapshots of type VDouble, Is there a suggested vtype or some means to pass a reduced dataset into SAR? My JSON strings throw exceptions unless I have all of the fields and no nulls. Also how are the AlarmStatus and AlarmSeverity enums of vtype-1.0.6.jar mapped to newer versions of EPICS? How does Phoebus handle this? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The save&restore service relies on the type system defined in the vtype dependency. There is no plan to change this for a different (simpler) type system. As for mapping of enums and differences in EPICS versions I do not know how this has evolved over time. Save&restore in Phoebus relies on what is decoded from the EPICS data using the Java enums: https://github.com/epics-base/epicsCoreJava/blob/master/epics-vtype/vtype/src/main/java/org/epics/vtype/AlarmStatus.java |
Beta Was this translation helpful? Give feedback.
-
Channel Access supported alarm severities OK, MINOR, MAJOR, INVALID. With the newer versions of EPICS, you get PV Access as a new protocol. The VType's alarm basically uses the newer way of describing alarm from the PV Access protocol. |
Beta Was this translation helpful? Give feedback.
-
Thank you for this description, Kay. It definitely helps fill some gaps in my understanding. I still have more to look into and would like to keep this discussion open for now. |
Beta Was this translation helpful? Give feedback.
Channel Access supported alarm severities OK, MINOR, MAJOR, INVALID.
For alarm status, it had that list of values that you link, with the inherent problem that channel access itself cannot transfer those values because the number of labels in a DBR_ENUM_... is less than the number of options in that https://epics.anl.gov/base/R7-0/7-docs/menuAlarmStat.html
With the newer versions of EPICS, you get PV Access as a new protocol.
PV Access supports alarm severities OK, MINOR, MAJOR, INVALID plus a new UNDEFINED option.
For alarm status, it uses the "String message" which can have arbitrary values, inc…