Experimental Physics and
| |||||||||||||||
|
On Fri, 10 Jul 2020 at 15:34, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote: [...] Actually, there is nothing special about the long string output record. There are *two* sides to the issue (client and server), and - depending on the field type of the record - there are *two* related switches you may have to activate for long strings to work across Channel Access. 1. The client must be told to send a string as an array of char, and to show an array of char as a string. This is a representation issue on the client side, and done using '-S' with the command line tools. 2. The server must be told to show fields that are supposed to be long strings as arrays of char to Channel Access. This is a data type issue on the server side, and done by adding the '$' to the PV name. The waveform record doesn't need the server side switch, because its native data type of the VAL field is already an array of char. Any string type field that is longer than 40 characters (DESC, link fields, lsi/lso VAL fields, ...) need the '$' switch to be shown as array of char instead of string. Cheers, ~Ralph
| ||||||||||||||
ANJ, 10 Jul 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |