Skip to content

Commit 34f9af4

Browse files
committed
Include ASG for all private and protected PVs
Set a default ASG for private PVs (ending in _, which should not be changed outside the IOC) as private, and protected PVs (ones which would change the behavior of EVR or EVG) as protected. For both cases a macro was included to allow change which ASG name should be used
1 parent cd81372 commit 34f9af4

36 files changed

+259
-81
lines changed

evgMrmApp/Db/evgAcTrig.db

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
record(longout, "$(P)Divider-SP") {
22
field(DESC, "EVG AC Divider")
3+
field(ASG, "$(ASGPROTECTED=protected)")
34
field(DTYP, "Obj Prop uint32")
45
field(OUT, "@OBJ=$(OBJ), PROP=Divider")
56
field(PINI, "YES")
@@ -25,6 +26,7 @@ record(longin, "$(P)Divider-RB") {
2526

2627
record(ao, "$(P)Phase-SP") {
2728
field(DESC, "EVG AC Phase Shifter")
29+
field(ASG, "$(ASGPROTECTED=protected)")
2830
field(DTYP, "Obj Prop double")
2931
field(OUT, "@OBJ=$(OBJ), PROP=Phase")
3032
field(PINI, "YES")
@@ -58,6 +60,7 @@ record(ai, "$(P)Phase-RB") {
5860

5961
record(bo, "$(P)Bypass-Sel") {
6062
field(DESC, "Bypass AC divider and Phase shifter")
63+
field(ASG, "$(ASGPROTECTED=protected)")
6164
field(DTYP, "Obj Prop bool")
6265
field(OUT, "@OBJ=$(OBJ), PROP=Bypass")
6366
field(PINI, "YES")
@@ -79,6 +82,7 @@ record(bi, "$(P)Bypass-RB") {
7982

8083
record(mbbo, "$(P)SyncSrc-Sel") {
8184
field(DESC, "Synchronization Source")
85+
field(ASG, "$(ASGPROTECTED=protected)")
8286
field(DTYP, "Obj Prop uint16")
8387
field(OUT, "@OBJ=$(OBJ), PROP=SyncSrc")
8488
field(PINI, "YES")

0 commit comments

Comments
 (0)