-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathevr_PCIe_startup.script
22 lines (18 loc) · 1.39 KB
/
evr_PCIe_startup.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require mrfioc2
##########################
#-----! EVR Setup ------!#
##########################
## The following parameters are available to set up the device. They can either be set as an epics environmental variable, or passed as a macro to the 'runScript' command:
# The following macros are available to set up the mrfioc2:
# SYS is used as a prefix for all records.
# DEVICE is the event receiver / timing card name. (default: EVR0)
# EVR_DOMAIN is the PCI domain where the card is inserted. (default: 0x1)
# EVR_BUS is the PCI bus where the card is inserted. (default: 0x21)
# EVR_DEVICE is the PCI device where the card is inserted. (default: 0)
# EVR_FUNCTION is the PCI function where the card is inserted. (default: 0)
# EVR_SUBS is the path to the substitution file that should be loaded. (default: cfg/$(DEVICE).subs = cfg/EVR0.subs)
# The following macros can be used to load example substitution files already available in the mrfioc2 module:
# EVR_SUBS=$(mrfioc2_DB)/evr_PCIe-300.subs for EVR-PCIe-300 device series
# EVR_SUBS=$(mrfioc2_DB)/evr_PCIe-300DC.subs for EVR-PCIe-300DC device series
# EVR_SUBS=$(mrfioc2_DB)/evr_cPCI-230.subs for EVR-cPCI-230 device series
runScript $(mrfioc2_DIR)/mrfioc2_evr-PCIe.cmd, "SYS=MTEST-VME-TIMINGTEST, DEVICE=EVR0, EVR_DOMAIN=0x1, EVR_BUS=0x21, EVR_DEVICE=0, EVR_FUNCTION=0"