-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Timestamp absolute extensions.
- Loading branch information
1 parent
a5c9543
commit cc80720
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
} |