21 lines
769 B
Batchfile
21 lines
769 B
Batchfile
|
|
#==============================================================================
|
|
# startup.cmd
|
|
#-------------- Information:
|
|
#- Description: ecmc_plugin_daq startup.cmd
|
|
#-
|
|
#- by Anders Sandström, Paul Scherrer Institute, 2023
|
|
#- email: anders.sandstroem@psi.ch
|
|
#-
|
|
#-###############################################################################
|
|
#-
|
|
#- Arguments
|
|
#- PLUGIN_ID : Id of plugin to load (mandatory)
|
|
#-
|
|
#################################################################################
|
|
|
|
#- Load plugin:
|
|
epicsEnvSet(ECMC_PLUGIN_FILNAME,"$(ecmc_plugin_daq_DIR)/lib/${EPICS_HOST_ARCH=linux-x86_64}/libecmc_plugin_daq.so")
|
|
epicsEnvSet(ECMC_PLUGIN_CONFIG,"DBG_PRINT=1;")
|
|
ecmcConfigOrDie "Cfg.LoadPlugin(${PLUGIN_ID}${ECMC_PLUGIN_FILNAME},${ECMC_PLUGIN_CONFIG=""})"
|