Skip to content

Commit

Permalink
add the 3rd option of sequencer source, install the template
Browse files Browse the repository at this point in the history
  • Loading branch information
rhong committed Nov 5, 2024
1 parent b09f5e2 commit fb751e3
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evgMrmApp/Db/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ DB += evgDbus.db
DB += evgAcTrig.db
DB += evgInput.db
DB += evgOutput.db
DB += evgSoftSeq.db
DB += evgSoftSeq.template
DB += evm-fct.template
DB += cpci-evg-300.db
DB += vme-evg230.db
Expand Down
56 changes: 54 additions & 2 deletions evgMrmApp/Db/evgSoftSeq.template
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ record(mbbo, "$(P)TrigSrc-Sel") {

record(mbbo, "$(P)TrigSrc$(s=:)1-Sel") {
field(DTYP, "Raw Soft Channel")
field(OUT , "$(P)TrigSrc-Sel_ PP")
field(OUT , "$(P)TrigSrc$(s=:)-Sel_ PP")
field(UDF, "0")
field(ZRST, "Univ3")
field(ONST, "Univ4")
Expand All @@ -62,6 +62,9 @@ record(mbbo, "$(P)TrigSrc$(s=:)1-Sel") {
field(TEST, "Univ13")
field(ELST, "Univ14")
field(TVST, "Univ15")
field(TTST, "Front2")
field(FTST, "Rear1")
field(FFST, "Rear2")
field(ZRVL, "0x02020003")
field(ONVL, "0x02020004")
field(TWVL, "0x02020005")
Expand All @@ -75,12 +78,44 @@ record(mbbo, "$(P)TrigSrc$(s=:)1-Sel") {
field(TEVL, "0x0202000d")
field(ELVL, "0x0202000e")
field(TVVL, "0x0202000f")
field(TTVL, "0x02010002")
field(FTVL, "0x02030000")
field(FFVL, "0x02030001")
info(autosaveFields_pass0, "VAL")
}

# placeholder to OPIs
record(mbbo, "$(P)TrigSrc$(s=:)2-Sel") {
field(DISP, "1")
field(DTYP, "Raw Soft Channel")
field(OUT , "$(P)TrigSrc$(s=:)-Sel_ PP")
field(UDF, "0")
field(ZRST, "Rear3")
field(ONST, "Rear4")
field(TWST, "Rear5")
field(THST, "Rear6")
field(FRST, "Rear7")
field(FVST, "Rear8")
field(SXST, "Rear9")
field(SVST, "Rear10")
field(EIST, "Rear11")
field(NIST, "Rear12")
field(TEST, "Rear13")
field(ELST, "Rear14")
field(TVST, "Rear15")
field(ZRVL, "0x02030003")
field(ONVL, "0x02030004")
field(TWVL, "0x02030005")
field(THVL, "0x02030006")
field(FRVL, "0x02030007")
field(FVVL, "0x02030008")
field(SXVL, "0x02030009")
field(SVVL, "0x0203000a")
field(EIVL, "0x0203000b")
field(NIVL, "0x0203000c")
field(TEVL, "0x0203000d")
field(ELVL, "0x0203000e")
field(TVVL, "0x0203000f")
info(autosaveFields_pass0, "VAL")
}

record(longout, "$(P)TrigSrc-Sel_") {
Expand Down Expand Up @@ -130,6 +165,23 @@ record(stringin, "$(P)TrigSrc-RB") {
info(lutp , " 0x0202000d = Univ13")
info(lutq , " 0x0202000e = Univ14")
info(lutr , " 0x0202000f = Univ15")
info(luts , " 0x02010002 = Front2")
info(lutt , " 0x02030000 = Rear0")
info(lutu , " 0x02030001 = Rear1")
info(lutv , " 0x02030002 = Rear2")
info(lutw , " 0x02030003 = Rear3")
info(lutx , " 0x02030004 = Rear4")
info(luty , " 0x02030005 = Rear5")
info(lutz , " 0x02030006 = Rear6")
info(lutA , " 0x02030007 = Rear7")
info(lutB , " 0x02030008 = Rear8")
info(lutC , " 0x02030009 = Rear9")
info(lutD , " 0x0203000a = Rear10")
info(lutE , " 0x0203000b = Rear11")
info(lutF , " 0x0203000c = Rear12")
info(lutG , " 0x0203000d = Rear13")
info(lutH , " 0x0203000e = Rear14")
info(lutI , " 0x0203000f = Rear15")
info(lutY , " 0x03000000 = None")
}

Expand Down

0 comments on commit fb751e3

Please sign in to comment.