Make QSRV aware of waveforms which are strings#584
Make QSRV aware of waveforms which are strings#584ericonr wants to merge 1 commit intoareaDetector:masterfrom
Conversation
This is necessary so these records are served as NTScalar with string value, instead of NTScalarArray with char[] value. This also simplifies clients, since they won't have to convert char[] into strings themselves.
|
I wonder if we should consider making use of https://epics.anl.gov/base/R7-0/6-docs/lsiRecord.html instead of wavforms for these? It would mean base 3.15+ would be required, but 3.15 has been around for a long time now. For example, a recent update to the |
Yes, I think that is the best solution. I think that no longer supporting 3.14 in new releases of ADCore is fine. |
|
Ah, fair point! Should the device support for |
Yes, it should be the same. |
|
ADCore/ADApp/Db/NDPosPlugin.template Lines 14 to 29 in 3f74bad The size used here is much bigger than the max of 32767 supported by lsi. Should these maximums be reconsidered, or are they necessary and so we should keep waveforms for some cases? I think the same goes for any records which can receive direct XML or JSON data... Is it better to move to lsi where able, and keep waveform where we might need bigger strings? Or should we be consistent and have a single type? |

This is necessary so these records are served as NTScalar with string value, instead of NTScalarArray with char[] value. This also simplifies clients, since they won't have to convert char[] into strings themselves.