From f55e28b291f4063add174cad1c84461bc586b0c8 Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Mon, 4 May 2020 15:41:22 +0200 Subject: [PATCH] feat: Generic evr init file. --- iocsh/evm.iocsh | 2 +- iocsh/evr.iocsh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 iocsh/evr.iocsh diff --git a/iocsh/evm.iocsh b/iocsh/evm.iocsh index 1c162de..b98e3c3 100644 --- a/iocsh/evm.iocsh +++ b/iocsh/evm.iocsh @@ -1,7 +1,7 @@ # .init.iocsh # =========== -mrmEvgSetupPCI $(OBJ) $(PCIID) +mrmEvgSetupPCI "$(OBJ)" "$(PCIID)" dbLoadRecords "evm-mtca-300-ess.db" "P=$(P), OBJ=$(OBJ), FEVT=$(TS_CLK), FRF=$(TS_CLK), RFDIV=1, U=$(U), D=$(D)" diff --git a/iocsh/evr.iocsh b/iocsh/evr.iocsh new file mode 100644 index 0000000..2bf1493 --- /dev/null +++ b/iocsh/evr.iocsh @@ -0,0 +1,10 @@ +# .init.iocsh + +mrmEvgSetupPCI "$(OBJ)" "$(PCIID)" + +dbLoadRecords "$(FILE_DB)" "P=$(P), OBJ=$(OBJ), FEVT=$(TS_CLK)" + +# needed with software timestamp [ns] source w/o RT thread scheduling +var evrMrmTimeNSOverflowThreshold 500000000 + +#EOF