You can also use a long string output (lso) record to copy a string into a waveform or vice versa. This works for me, and will similarly require 3.15 or later:
record(stringout, "so") {
field(VAL, "This is another string")
}
record(waveform, "wf") {
field(NELM, 100)
field(FTVL, CHAR)
}
record(lso, "xerox") {
field(DOL, "so")
field(OMSL, "closed_loop")
field(OUT, "wf")
}
You can swap the DOL and OUT links to copy in the other direction.
- Andrew
On Jul 22, 2020, at 9:19 AM, Ralph Lange via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi Malte,
Using current 3.15 or EPICS 7, this database:
record (waveform, "wf") {
field(NELM, "100")
field(FTVL, "CHAR")
field(INP, "so.VAL$")
}
record (stringout, "so") {
field(VAL, "this is a string")
}
does that job for me. Or did I get the problem wrong?
Cheers,
~Ralph
--
Complexity comes for free, simplicity you have to work for.
|