Files
pva2pva/testApp/testpvalink.db
Michael Davidsaver 122e9bdbb4 enable "Async Soft Channel" for output links
Add asynchronous output link support.
When triggered, re-process record(s)
after put completes
2022-07-05 11:08:39 -07:00

56 lines
1.0 KiB
Plaintext

# used by testGet()
record(int64in, "target:i") {
field(VAL, "42")
}
record(ai, "target:ai") {
field(VAL, "4.0")
}
record(int64in, "src:i1") {
field(INP, {"pva":"target:i"})
}
# used by testPut()
record(int64in, "target:i2") {
field(VAL, "43")
}
record(int64out, "src:o2") {
field(OUT, {"pva":"target:i2"})
}
# used by testPutAsync()
record(calc, "async:seq") {
field(CALC, "VAL+1")
field(VAL , "0")
field(TPRO, "1")
}
record(longout, "async:trig") {
field(OMSL, "closed_loop")
field(DOL , "async:seq PP")
field(DTYP, "Async Soft Channel")
field(OUT , { "pva":{"pv":"async:slow.A", "proc":true} })
field(FLNK, "async:after")
field(TPRO, "1")
}
record(calcout, "async:slow") {
field(ODLY, "1")
field(CALC, "A")
field(FLNK, "async:slow2")
field(TPRO, "1")
}
record(longin, "async:slow2") {
field(INP , "async:seq PP")
field(TPRO, "1")
}
record(longin, "async:after") {
field(INP , "async:seq PP")
field(MDEL, "-1")
field(TPRO, "1")
}