Skip to content

Commit 95e2676

Browse files
committed
Include macros for DRVL and DRVH on pulsers Width-SP
This way is possible to define different limits (case for the first 4 pulsers compared to the others )
1 parent 9f81fea commit 95e2676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

evrApp/Db/evrpulser.db

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# DMAX = Max delay setting
99
# WMAX = Max width setting
1010
# PMAX = Max prescaler (divider) setting
11+
# WDRVL = Minimum Width (in EGU unitis)
12+
# WDRVH = Maximum Width (in EGU unitis)
1113
# NOPS = 0 - enable prescaler, 1 - disable prescaler
1214

1315
# When Disabled, the output of the Pulse Generator will remain in
@@ -108,6 +110,8 @@ record(ao, "$(PN)Width-SP") {
108110
field(LINR, "LINEAR")
109111
field(ESLO, "1e6")
110112
field(PREC, "3")
113+
field(DRVL, "$(WDRVL=0)")
114+
field(DRVH, "$(WDRVH=0)")
111115
field(FLNK, "$(PN)Width-RB")
112116
info(autosaveFields_pass0, "VAL EGU ESLO PREC HOPR LOPR DRVL DRVH")
113117
}

0 commit comments

Comments
 (0)