This commit is contained in:
2024-03-04 21:37:07 +01:00
parent 66ce888e70
commit cf89a79274
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
#==============================================================================
# ecmcFinalizeDaqArray.cmd
#-------------- Information:
#- Description: ecmc_plugin_daq ecmcFinalizeDaqArray.cmd
#- Load database for a DAQ-Array
#-
#- by Anders Sandström, Paul Scherrer Institute, 2024
#- email: anders.sandstroem@psi.ch
#-
#-###############################################################################
#-
#- Arguments
#- NAME : Name of DAQ array
#-
#################################################################################
#- Connect to sources in order to know NELM.. Data sources must be known before added with the scripts..
ecmcDAQConnectToDataSource()
#- Read NELM
ecmcDAQReadNelm(${NAME},"DAQ_NELM")
ecmcIf("${DAQ_NELM=-1}<0")
${IF_TRUE}ecmcExit : Failed read DAQ array NELM
ecmcEndIf()
dbLoadTemplate(ecmcPluginDAQ.template,"P=${ECMC_PREFIX},Name=${NAME},NELM=${DAQ_NELM},PORT=ECMC.PLUGIN.DAQ.${NAME}")
epicsEnvUnset(DAQ_NELM)