Debian Codegraph @

modules/pva2pva/iocBoot/iocpvalink/pvalink.db

raw
1 record(ai, "$(P)target") {}
2
3 # local input link shorthand
4 record(longin, "$(P)inp1") {
5 field(INP , {pva:"$(P)target"})
6 alias("$(P)inp1:alias")
7 }
8
9 # local input link longhand
10 record(longin, "$(P)inp2") {
11 field(INP , {pva:{pv:"$(P)target"}})
12 }
13
14 # remote input link
15 record(longin, "$(P)inp3") {
16 field(INP , {pva:"invalid:pv:name"})
17 }
18
19 # null like (requires local, but not local)
20 record(longin, "$(P)inp4") {
21 field(INP , {pva:{pv:"invalid:pv:name", local:true}})
22 }
23
24 # local input link w/ CP (process on update)
25 record(calc, "$(P)cnt") {
26 field(SCAN, "1 second")
27 field(INPA, "$(P)cnt")
28 field(INPB, "9")
29 field(CALC, "A<B?A+1:0")
30 field(HIGH, "7")
31 field(HSV , "MAJOR")
32 }
33 record(longin, "$(P)track") {
34 field(INP , {pva:{
35 pv:"$(P)cnt",
36 proc:"CP",
37 sevr:true,
38 time:true
39 }})
40 field(TSE, "-2")
41 }
42
43 # remote input link w/ CP (process on update)
44 record(longin, "$(P)track2") {
45 field(INP , {pva:{
46 pv:"$(P)cnt:rmt",
47 proc:"CP",
48 sevr:true,
49 time:true
50 }})
51 field(TSE, "-2")
52 }
53
54
55 # local output link
56 record(longout, "$(P)out1") {
57 field(OUT , {pva:{pv:"$(P)out:tgt"}})
58 field(TPRO, "1")
59 }
60 record(longout, "$(P)out:tgt") {
61 field(TPRO, "1")
62 }
63
64 # remote output link
65 record(longout, "$(P)out2") {
66 field(OUT , {pva:{pv:"$(P)out:rmt"}})
67 field(TPRO, "1")
68 }
69
70 # remote output link w/ retry (queue put while disconnected)
71 record(longout, "$(P)out3") {
72 field(OUT , {pva:{pv:"$(P)out:rmt", retry:true}})
73 field(TPRO, "1")
74 #info(base:lsetDebug, "YES")
75 }
76
77
78 # output link to waveform
79 record(aao, "$(P)out4:wf") {
80 field(FTVL, "DOUBLE")
81 field(NELM, "10")
82 field(OUT , {pva:{pv:"$(P)target:wf"}})
83 }
84
85 # input link to waveform
86 record(aao, "$(P)target:wf") {
87 field(FTVL, "DOUBLE")
88 field(NELM, "10")
89 }
90
91 record(aai, "$(P)inp5:wf") {
92 field(FTVL, "DOUBLE")
93 field(NELM, "10")
94 field(INP , {pva:{pv:"$(P)target:wf"}})
95 }
96
97
98 # test forward link
99 record(calc, "$(P)fcnt1") {
100 field(CALC, "VAL+1")
101 field(FLNK, {pva:{pv:"$(P)fcnt2"}})
102 info(base:lsetDebug, "YES")
103 }
104 record(calc, "$(P)fcnt2") {
105 field(CALC, "VAL+1")
106 }