JeffersonLab / epics2web

EPICS CA Web Gateway
https://epicsweb.jlab.org/epics2web
MIT License
16 stars 5 forks source link

Support BYTE[] as 'long string' #9

Closed kasemir closed 3 years ago

kasemir commented 3 years ago

epics2web and thus WebEDM generally don't support array values for plots etc., but BYTE arrays are often used as "long strings" from a longstringIn/Out record, a waveform record with FTVL=CHAR, or link fields accessed with a '$' suffix to overcome the 40 character length limitation of the EPICS string data type. This PR causes epics2web to treat BYTE arrays as strings, so WebEDM can now display data from longstringIn/Out, CHAR waveforms and xxx.INP$ or xxx.OUT$ links.