Skip to content

Commit

Permalink
feat: Timestamp absolute extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzyjamroz committed Nov 29, 2024
1 parent a5c9543 commit cc80720
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions evrMrmApp/Db/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DB += mrmevrbase.template
DB += mrmevrdc.template
DB += mrmevrbufrx.db
DB += mrmevrtsbuf.db
DB += mrmevrtsabs.template
DB += sequencedemo.db
DB += mrmevrdlymodule.template
DB += evrSoftSeq.template
Expand Down
20 changes: 20 additions & 0 deletions evrMrmApp/Db/mrmevrtsabs.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# "evreventutag.db" and the "mrmevrtsbuf.db" extension with absolute related adaptation
## Use "$(P)$(Evt=)TsAbsCode-SP" to set the reference event for the absolute timestamp acquisition
## Use "$(P)$(Evt=)Cnt-I" as the absolute timestamp source
## Use "$(P)$(Evt=)TS-I" as the relative timestamp source

record(longout, "$(P)$(Evt=)TsAbsCode-SP") {
field(DESC, "Distribute event to all sources")
field(VAL , "$(CODE=255)")
field(PINI, "YES")
field(OUT, "$(P)$(Evt=)FlshEvt-SP CP")
info(autosaveFields_pass0, "VAL")
alias("$(P)$(Evt=)TsAbsCode-RB")
}

record(printf, "$(P)$(Evt=)TsAbsLock_") {
field(OMSL, "closed_loop")
field(FMT, "@OBJ=$(EVR),Code=%u")
field(INP0, "$(P)$(Evt=)TsAbsCode-SP CPP")
field(OUT, "$(P)$(Evt=)-SP.OUT CP")
}

0 comments on commit cc80720

Please sign in to comment.