Thank you, Andrew. Works great!
record(stringout, "source") { field(VAL, "String to copy") } record(aao, "str-copy") { field(FTVL, "CHAR") field(NELM, 100) field(DOL, "source. $") field(OMSL, "closed_loop") field(OUT,
record(stringout, "source") {
field(VAL, "String to copy")
}
record(aao, "str-copy") {
field(FTVL, "CHAR")
field(NELM, 100)
field(DOL, "source.$")
field(OMSL, "closed_loop")
field(OUT, "dest")
}
record(waveform, "dest") {
field(FTVL, "CHAR")
field(NELM, 100)
}
This uses an aao record to grab the source value
as an array of chars, and then copy that array to the waveform. Process the str-copy record to perform the copy. Note that the DOL and OMSL fields were only added to the aao record type in
EPICS version 7.0.7.
- Andrew
--
Complexity comes for free, Simplicity you have to work for.
Hi,
What is the best way (without having to write anything more than EPICS database code) to copy the value of a string PV (stringout) hosted in one IOC to a waveform PV (char type) hosted by another PC?
I'm having problems trying to set the output link to a waveform PV name.
Thank you,
Ray
Ray Gregory
DAS Software Group
NTD Division
NScD Directorate
Oak Ridge National Laboratory