Add an EPICS analog record for an asyn variable.
DEV:NAME, where DEV defaults to IOC.
Anders Sandstroem
NAME Record name suffix, resulting PV is DEV:NAME
ASYN_NAME Full asyn parameter name, for example plugin.adv.counter
DEV (optional) Device prefix, defaults to IOC
PORT (optional) Asyn port, defaults to MC_CPU1
DB_MACROS (optional) Extra DB template macros, for example EGU=mm,PREC=3,ESLO=0.1,EOFF=0
Example call:
${SCRIPTEXEC} ${ecmccfg_DIR}addAsynVarAnalog.cmd "NAME=AdvCounter,ASYN_NAME=plugin.adv.counter,EGU=counts,PREC=0"
${SCRIPTEXEC} ${ecmccfg_DIR}addAsynVarAnalog.cmd "NAME=LatencyMax,ASYN_NAME=ecmc.thread.latency.max,EGU=ns,PREC=0"