From c78c9bf8835fe9582062337bd2a8795c8daf286f Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Wed, 6 Sep 2000 14:10:41 +0000 Subject: [PATCH] - Original. --- motorExApp/Db/Makefile | 3 + motorExApp/Db/Makefile.Host | 31 +++ motorExApp/Db/NoMPF.substitutions | 13 ++ motorExApp/Db/WithMPF.substitutions | 9 + motorExApp/Db/softex.db | 44 +++++ motorExApp/NoAsyn/Makefile | 3 + motorExApp/NoAsyn/Makefile.Host | 12 ++ motorExApp/NoAsyn/Makefile.Vx | 29 +++ motorExApp/NoAsyn/NoAsynInclude.dbd | 4 + motorExApp/NoAsyn/NoMPFInclude.dbd | 4 + motorExApp/NoAsyn/base.dbd | 241 ++++++++++++++++++++++++ motorExApp/NoMPF/Makefile | 3 + motorExApp/NoMPF/Makefile.Host | 12 ++ motorExApp/NoMPF/Makefile.Vx | 29 +++ motorExApp/NoMPF/NoMPFInclude.dbd | 4 + motorExApp/NoMPF/base.dbd | 241 ++++++++++++++++++++++++ motorExApp/WithAsyn/Makefile | 3 + motorExApp/WithAsyn/Makefile.Host | 12 ++ motorExApp/WithAsyn/Makefile.Vx | 61 ++++++ motorExApp/WithAsyn/WithAsynInclude.dbd | 4 + motorExApp/WithAsyn/WithMPFInclude.dbd | 4 + motorExApp/WithAsyn/base.dbd | 241 ++++++++++++++++++++++++ motorExApp/WithMPF/Makefile | 3 + motorExApp/WithMPF/Makefile.Host | 12 ++ motorExApp/WithMPF/Makefile.Vx | 61 ++++++ motorExApp/WithMPF/WithMPFInclude.dbd | 4 + motorExApp/WithMPF/base.dbd | 241 ++++++++++++++++++++++++ motorExApp/ipServerApp/Makefile | 3 + motorExApp/ipServerApp/Makefile.Vx | 27 +++ 29 files changed, 1358 insertions(+) create mode 100644 motorExApp/Db/Makefile create mode 100644 motorExApp/Db/Makefile.Host create mode 100644 motorExApp/Db/NoMPF.substitutions create mode 100644 motorExApp/Db/WithMPF.substitutions create mode 100644 motorExApp/Db/softex.db create mode 100644 motorExApp/NoAsyn/Makefile create mode 100644 motorExApp/NoAsyn/Makefile.Host create mode 100644 motorExApp/NoAsyn/Makefile.Vx create mode 100644 motorExApp/NoAsyn/NoAsynInclude.dbd create mode 100644 motorExApp/NoAsyn/NoMPFInclude.dbd create mode 100644 motorExApp/NoAsyn/base.dbd create mode 100644 motorExApp/NoMPF/Makefile create mode 100644 motorExApp/NoMPF/Makefile.Host create mode 100644 motorExApp/NoMPF/Makefile.Vx create mode 100644 motorExApp/NoMPF/NoMPFInclude.dbd create mode 100644 motorExApp/NoMPF/base.dbd create mode 100644 motorExApp/WithAsyn/Makefile create mode 100644 motorExApp/WithAsyn/Makefile.Host create mode 100644 motorExApp/WithAsyn/Makefile.Vx create mode 100644 motorExApp/WithAsyn/WithAsynInclude.dbd create mode 100644 motorExApp/WithAsyn/WithMPFInclude.dbd create mode 100644 motorExApp/WithAsyn/base.dbd create mode 100644 motorExApp/WithMPF/Makefile create mode 100644 motorExApp/WithMPF/Makefile.Host create mode 100644 motorExApp/WithMPF/Makefile.Vx create mode 100644 motorExApp/WithMPF/WithMPFInclude.dbd create mode 100644 motorExApp/WithMPF/base.dbd create mode 100644 motorExApp/ipServerApp/Makefile create mode 100644 motorExApp/ipServerApp/Makefile.Vx diff --git a/motorExApp/Db/Makefile b/motorExApp/Db/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/Db/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/Db/Makefile.Host b/motorExApp/Db/Makefile.Host new file mode 100644 index 00000000..343a3de9 --- /dev/null +++ b/motorExApp/Db/Makefile.Host @@ -0,0 +1,31 @@ +# Makefile.Host +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +DB += NoMPF.db +DB += WithMPF.db + +include $(TOP)/config/RULES.Db +#---------------------------------------- +# ADD RULES AFTER THIS LINE + +# !!WARNING!! Delete the following line after coping +# this file to your application. +MOTOR = $(TOP) + +MSI = $(MSITOP)/bin/$(HOST_ARCH)/msi + +#The following builds the NoMPF.db file +../NoMPF.db: ../NoMPF.substitutions $(MOTOR)/db/basic_motor.db + echo "building NoMPF.db" + $(RM) ../NoMPF.db + $(MSI) -V -I $(MOTOR)/db -S ../NoMPF.substitutions > ../NoMPF.db + +#The following builds the WithMPF.db file +../WithMPF.db: ../WithMPF.substitutions $(MOTOR)/db/basic_motor.db + echo "building WithMPF.db" + $(RM) ../WithMPF.db + $(MSI) -V -I $(MOTOR)/db -S ../WithMPF.substitutions > ../WithMPF.db + diff --git a/motorExApp/Db/NoMPF.substitutions b/motorExApp/Db/NoMPF.substitutions new file mode 100644 index 00000000..5a49ae6d --- /dev/null +++ b/motorExApp/Db/NoMPF.substitutions @@ -0,0 +1,13 @@ +file basic_motor.db +{ +pattern +{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} +{rls:, 1, m$(N), "OMS VME58", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 2, m$(N), "OMS VME58", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 3, m$(N), "OMS VME58", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 4, m$(N), "OMS VME58", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 5, m$(N), "OMS VME58", 0, 4, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 6, m$(N), "OMS VME58", 0, 5, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 7, m$(N), "OMS VME58", 0, 6, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 8, m$(N), "OMS VME58", 0, 7, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +} diff --git a/motorExApp/Db/WithMPF.substitutions b/motorExApp/Db/WithMPF.substitutions new file mode 100644 index 00000000..e1cc09eb --- /dev/null +++ b/motorExApp/Db/WithMPF.substitutions @@ -0,0 +1,9 @@ +file basic_motor.db +{ +pattern +{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} +{rls:, 1, m$(N), "MM4000", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 2, m$(N), "MM4000", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 3, m$(N), "MM4000", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +{rls:, 4, m$(N), "MM4000", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} +} diff --git a/motorExApp/Db/softex.db b/motorExApp/Db/softex.db new file mode 100644 index 00000000..3ad388c0 --- /dev/null +++ b/motorExApp/Db/softex.db @@ -0,0 +1,44 @@ +grecord(motor,"$(user):rotary") +{ + field(DTYP,"Soft Channel") + field(OUT,"$(user):convertDriveValue.A PP MS") + field(RDBL,"$(user):convertReadbackValue.VAL NPP MS") + field(URIP,"Yes") + field(STOO,"$(user):linear.STOP PP MS") + field(DINP,"$(user):linear.DMOV NPP MS") + field(MRES,"0.001") + field(RRES,"1.000") + field(PREC,"3") + field(DHLM,"45") + field(DLLM,"-45") + field(TWV,"5") + field(RTRY,"0") + field(EGU,"deg.") +} +grecord(motor,"$(user):linear") +{ + field(DTYP,"OMS VME58") + field(VBAS,"1.0") + field(VELO,"25.0") + field(OUT,"#C0 S0 @") + field(MRES,"0.001") + field(PREC,"3") + field(DHLM,"1000") + field(DLLM,"-1000") + field(RTRY,"0") + field(TWV,"1") + field(EGU,"mm.") +} +grecord(calcout,"$(user):convertDriveValue") +{ + field(DESC,"Convert rotary to linear") + field(CALC,"TAN(A / 57.296) * 1000") + field(OUT,"$(user):linear.DVAL PP MS") +} +grecord(calcout,"$(user):convertReadbackValue") +{ + field(DESC,"Convert linear to rotary") + field(CALC,"ATAN(A / 1000) * 57.296") + field(INPA,"$(user):linear.DRBV CP MS") +} + diff --git a/motorExApp/NoAsyn/Makefile b/motorExApp/NoAsyn/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/NoAsyn/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/NoAsyn/Makefile.Host b/motorExApp/NoAsyn/Makefile.Host new file mode 100644 index 00000000..f87aa54a --- /dev/null +++ b/motorExApp/NoAsyn/Makefile.Host @@ -0,0 +1,12 @@ +# Makefile.Host +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +DBDEXPAND = NoMPFInclude.dbd +DBDNAME = NoMPFApp.dbd + +include $(TOP)/config/RULES.Host +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/NoAsyn/Makefile.Vx b/motorExApp/NoAsyn/Makefile.Vx new file mode 100644 index 00000000..a795a94f --- /dev/null +++ b/motorExApp/NoAsyn/Makefile.Vx @@ -0,0 +1,29 @@ +# Makefile.Vx +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +# !!WARNING!! If you copy this file to your +# application, the following line +# MUST BE REMOVED and a MOTOR entry must be +# in your /config/RELEASE file. +MOTOR_BIN = $(TOP)/bin/$(T_A) + +include $(TEMPLATE_TOP)/exampleApp/src/baseLIBOBJS + +LIBOBJS += $(EPICS_BASE_BIN)/iocCore +LIBOBJS += $(EPICS_BASE_BIN)/seq + +LIBOBJS += $(MOTOR_BIN)/motorLib +LIBOBJS += $(MOTOR_BIN)/omsLib +LIBOBJS += $(MOTOR_BIN)/softMotorLib + +LIBNAME = NoMPFLib + +#Note that the command line that builds the +#library $(LIBNAME) may be HUGE (>3kB) +# +include $(TOP)/config/RULES.Vx +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/NoAsyn/NoAsynInclude.dbd b/motorExApp/NoAsyn/NoAsynInclude.dbd new file mode 100644 index 00000000..943bd565 --- /dev/null +++ b/motorExApp/NoAsyn/NoAsynInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devOms.dbd" +include "devSoftMotor.dbd" diff --git a/motorExApp/NoAsyn/NoMPFInclude.dbd b/motorExApp/NoAsyn/NoMPFInclude.dbd new file mode 100644 index 00000000..943bd565 --- /dev/null +++ b/motorExApp/NoAsyn/NoMPFInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devOms.dbd" +include "devSoftMotor.dbd" diff --git a/motorExApp/NoAsyn/base.dbd b/motorExApp/NoAsyn/base.dbd new file mode 100644 index 00000000..8e6e1caa --- /dev/null +++ b/motorExApp/NoAsyn/base.dbd @@ -0,0 +1,241 @@ +include "menuGlobal.dbd" +include "menuConvert.dbd" +include "aiRecord.dbd" +#include "aaiRecord.dbd" +include "aoRecord.dbd" +#include "aaoRecord.dbd" +include "biRecord.dbd" +include "boRecord.dbd" +include "calcRecord.dbd" +include "calcoutRecord.dbd" +include "compressRecord.dbd" +include "dfanoutRecord.dbd" +#include "egRecord.dbd" +#include "egeventRecord.dbd" +#include "erRecord.dbd" +#include "ereventRecord.dbd" +include "eventRecord.dbd" +include "fanoutRecord.dbd" +#include "histogramRecord.dbd" +include "longinRecord.dbd" +include "longoutRecord.dbd" +include "mbbiRecord.dbd" +include "mbbiDirectRecord.dbd" +include "mbboRecord.dbd" +include "mbboDirectRecord.dbd" +include "permissiveRecord.dbd" +include "pidRecord.dbd" +#include "pulseCounterRecord.dbd" +#include "pulseDelayRecord.dbd" +#include "pulseTrainRecord.dbd" +#include "scanRecord.dbd" +include "selRecord.dbd" +include "seqRecord.dbd" +include "stateRecord.dbd" +#include "steppermotorRecord.dbd" +include "stringinRecord.dbd" +include "stringoutRecord.dbd" +include "subRecord.dbd" +#include "gsubRecord.dbd" +#include "palRecord.dbd" +include "subArrayRecord.dbd" +#include "timerRecord.dbd" +#include "waitRecord.dbd" +include "waveformRecord.dbd" +device(ai,CONSTANT,devAiSoft,"Soft Channel") +device(ai,CONSTANT,devAiSoftRaw,"Raw Soft Channel") +#device(ai,VME_IO,devAiXy566Se,"XYCOM-566 SE Scanned") +#device(ai,VME_IO,devAiXy566Di,"XYCOM-566 Dif Scanned") +#device(ai,VME_IO,devAiXy566DiL,"XYCOM-566 Dif Latched") +#device(ai,VME_IO,devAiDvx2502,"DVX-2502") +#device(ai,CONSTANT,devAiTestAsyn,"Test Asyn") +#device(ai,AB_IO,devAiAb1771Il,"AB-1771IL-Analog In") +#device(ai,AB_IO,devAiAb1771Ife,"AB-1771IFE") +#device(ai,AB_IO,devAiAb1771Ixe,"AB-1771IXE-Millivolt In") +#device(ai,AB_IO,devAiAb1771IfeSe,"AB-1771IFE-SE") +#device(ai,AB_IO,devAiAb1771IfeMa,"AB-1771IFE-4to20MA") +#device(ai,AB_IO,devAiAb1771Ife0to5V,"AB-1771IFE-0to5Volt") +#device(ai,AB_IO,devAiAb1771IrPlatinum,"AB-1771RTD-Platinum") +#device(ai,AB_IO,devAiAb1771IrCopper,"AB-1771RTD-Copper") +#device(ai,CAMAC_IO,devAiCamac,"Camac") +#device(ai,VME_IO,devAiAt5Vxi,"VXI-AT5-AI") +#device(ai,GPIB_IO,devAiK486Gpib,"Keithley-486") +#device(ai,VME_IO,devAiKscV215,"KSC-V215") +#device(ai,INST_IO,devAiVXStats,"VX stats") +#device(aai,CAMAC_IO,devAaiCamac,"Camac") +device(ao,CONSTANT,devAoSoft,"Soft Channel") +device(ao,CONSTANT,devAoSoftRaw,"Raw Soft Channel") +#device(ao,VME_IO,devAoVmiVme4100,"VMIVME-4100") +#device(ao,CONSTANT,devAoTestAsyn,"Test Asyn") +#device(ao,AB_IO,devAoAb1771Ofe,"AB-1771OFE") +#device(ao,CAMAC_IO,devAoCamac,"Camac") +#device(ao,VME_IO,devAoAt5Vxi,"VXI-AT5-AO") +#device(ao,INST_IO,devAoVXStats,"VX stats") +device(bi,CONSTANT,devBiSoft,"Soft Channel") +device(bi,CONSTANT,devBiSoftRaw,"Raw Soft Channel") +#device(bi,VME_IO,devBiMpv910,"MPV-910") +#device(bi,VME_IO,devBiXVme210,"XVME-210") +#device(bi,CONSTANT,devBiTestAsyn,"Test Asyn") +#device(bi,AB_IO,devBiAb,"AB-Binary Input") +#device(bi,AB_IO,devBiAb16,"AB-16 bit BI") +#device(bi,AB_IO,devBiAb32,"AB-32 bit BI") +#device(bi,CAMAC_IO,devBiCamac,"Camac") +#device(bi,VME_IO,devBiAt5Vxi,"VXI-AT5-BI") +#device(bi,VME_IO,devBiXy240,"XYCOM-240") +#device(bi,VME_IO,devBiHpe1368a,"VXI-HPE1368-VS") +#device(bi,VME_IO,devBiAt8Fp,"AT8-FP10S") +#device(bi,VME_IO,devBiAvme9440,"AVME9440 I") +device(bo,CONSTANT,devBoSoft,"Soft Channel") +device(bo,CONSTANT,devBoSoftRaw,"Raw Soft Channel") +#device(bo,VME_IO,devBoMpv902,"MPV-902") +#device(bo,VME_IO,devBoXVme220,"XVME-220") +#device(bo,CONSTANT,devBoTestAsyn,"Test Asyn") +#device(bo,AB_IO,devBoAb,"AB-Binary Output") +#device(bo,AB_IO,devBoAb16,"AB-16 bit BO") +#device(bo,AB_IO,devBoAb32,"AB-32 bit BO") +#device(bo,CAMAC_IO,devBoCamac,"Camac") +#device(bo,VME_IO,devBoAt5Vxi,"VXI-AT5-BO") +#device(bo,GPIB_IO,devBoK486Gpib,"Keithley-486") +#device(bo,VME_IO,devBoXy240,"XYCOM-240") +#device(bo,VME_IO,devBoHpe1368a,"VXI-HPE1368-VS") +#device(bo,VME_IO,devBoAt8Fp,"AT8-FP10S") +#device(bo,VME_IO,devBoAvme9440,"AVME9440 O") +device(event,CONSTANT,devEventSoft,"Soft Channel") +#device(event,VME_IO,devEventMz8310,"Mizar-8310") +#device(event,CONSTANT,devEventTestIoEvent,"Test IoEvent") +#device(event,VME_IO,devErEpicsEvent,"APS event receiver") +#device(histogram,CONSTANT,devHistogramSoft,"Soft Channel") +#device(histogram,CONSTANT,devHistogramTestAsyn,"Test Asyn") +device(longin,CONSTANT,devLiSoft,"Soft Channel") +#device(longin,CAMAC_IO,devLiCamac,"Camac") +device(longout,CONSTANT,devLoSoft,"Soft Channel") +#device(longout,CAMAC_IO,devLoCamac,"Camac") +device(mbbi,CONSTANT,devMbbiSoft,"Soft Channel") +device(mbbi,CONSTANT,devMbbiSoftRaw,"Raw Soft Channel") +#device(mbbi,VME_IO,devMbbiMpv910,"MPV-910") +#device(mbbi,VME_IO,devMbbiXVme210,"XVME-210") +#device(mbbi,CONSTANT,devMbbiTestAsyn,"Test Asyn") +#device(mbbi,AB_IO,devMbbiAb,"AB-Binary Input") +#device(mbbi,AB_IO,devMbbiAb16,"AB-16 bit BI") +#device(mbbi,AB_IO,devMbbiAb32,"AB-32 bit BI") +#device(mbbi,AB_IO,devMbbiAbAdapterStat,"AB-Adapter Status") +#device(mbbi,AB_IO,devMbbiAbCardStat,"AB-Card Status") +#device(mbbi,CAMAC_IO,devMbbiCamac,"Camac") +#device(mbbi,VME_IO,devMbbiAt5Vxi,"VXI-AT5-BI") +#device(mbbi,VME_IO,devMbbiXy240,"XYCOM-240") +#device(mbbi,VME_IO,devMbbiHpe1368a,"VXI-HPE1368-VS") +#device(mbbi,VME_IO,devMbbiAt8Fp,"AT8-FP10S") +#device(mbbi,VME_IO,devMbbiAvme9440,"AVME9440 I") +device(mbbiDirect,CONSTANT,devMbbiDirectSoft,"Soft Channel") +device(mbbiDirect,CONSTANT,devMbbiDirectSoftRaw,"Raw Soft Channel") +#device(mbbiDirect,VME_IO,devMbbiDirectMpv910,"MPV-910") +#device(mbbiDirect,VME_IO,devMbbiDirectXVme210,"XVME-210") +#device(mbbiDirect,AB_IO,devMbbiDirectAb,"AB-Binary Input") +#device(mbbiDirect,AB_IO,devMbbiDirectAb16,"AB-16 bit BI") +#device(mbbiDirect,AB_IO,devMbbiDirectAb32,"AB-32 bit BI") +#device(mbbiDirect,CAMAC_IO,devMbbiDirectCamac,"Camac") +#device(mbbiDirect,VME_IO,devMbbiDirectAt5Vxi,"VXI-AT5-BI") +device(mbbo,CONSTANT,devMbboSoft,"Soft Channel") +device(mbbo,CONSTANT,devMbboSoftRaw,"Raw Soft Channel") +#device(mbbo,VME_IO,devMbboMpv902,"MPV-902") +#device(mbbo,VME_IO,devMbboXVme220,"XVME-220") +#device(mbbo,CONSTANT,devMbboTestAsyn,"Test Asyn") +#device(mbbo,AB_IO,devMbboAb,"AB-Binary Output") +#device(mbbo,AB_IO,devMbboAb16,"AB-16 bit BO") +#device(mbbo,AB_IO,devMbboAb32,"AB-32 bit BO") +#device(mbbo,VME_IO,devMbboAt5Vxi,"VXI-AT5-BO") +#device(mbbo,GPIB_IO,devMbboK486Gpib,"Keithley-486") +#device(mbbo,VME_IO,devMbboXy240,"XYCOM-240") +#device(mbbo,VME_IO,devMbboHpe1368a,"VXI-HPE1368-VS") +#device(mbbo,VME_IO,devMbboAt8Fp,"AT8-FP10S") +#device(mbbo,VME_IO,devMbboAvme9440,"AVME9440 O") +device(mbboDirect,CONSTANT,devMbboDirectSoft,"Soft Channel") +device(mbboDirect,CONSTANT,devMbboDirectSoftRaw,"Raw Soft Channel") +#device(mbboDirect,VME_IO,devMbboDirectMpv902,"MPV-902") +#device(mbboDirect,VME_IO,devMbboDirectXVme220,"XVME-220") +#device(mbboDirect,AB_IO,devMbboDirectAb,"AB-Binary Output") +#device(mbboDirect,AB_IO,devMbboDirectAb16,"AB-16 bit BO") +#device(mbboDirect,AB_IO,devMbboDirectAb32,"AB-32 bit BO") +#device(mbboDirect,CAMAC_IO,devMbboDirectCamac,"Camac") +#device(mbboDirect,VME_IO,devMbboDirectAt5Vxi,"VXI-AT5-BO") +#device(pulseCounter,VME_IO,devPcMz8310,"Mizar-8310") +#device(pulseDelay,VME_IO,devPdMz8310,"Mizar-8310") +#device(pulseTrain,CONSTANT,devPtSoft,"Soft Channel") +#device(pulseTrain,VME_IO,devPtMz8310,"Mizar-8310") +#device(steppermotor,VME_IO,devSmCompumotor1830,"Compumotor 1830") +#device(steppermotor,VME_IO,devSmOms6Axis,"OMS 6-Axis") +#device(steppermotor,AB_IO,devSmAB1746Hstp1,"Allen Bradley 1746-HTSP1") +device(stringin,CONSTANT,devSiSoft,"Soft Channel") +#device(stringin,CONSTANT,devSiTestAsyn,"Test Asyn") +device(stringout,CONSTANT,devSoSoft,"Soft Channel") +#device(stringout,CONSTANT,devSoTestAsyn,"Test Asyn") +device(subArray,CONSTANT,devSASoft,"Soft Channel") +#device(timer,VME_IO,devTmMizar8310,"Mizar-8310") +#device(timer,VME_IO,devTmDg535,"DG 535") +#device(timer,VME_IO,devTmAt5Vxi,"VXI-AT5-TIME") +device(waveform,CONSTANT,devWfSoft,"Soft Channel") +#device(waveform,VME_IO,devWfXy566Sc,"XYCOM-566 Single Channel") +#device(waveform,VME_IO,devWfComet,"Comet Digitizer") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger Digitizer") +#device(waveform,CONSTANT,devWfTestAsyn,"Test Asyn") +#device(waveform,VME_IO,devWfDvx2502,"DVX-2502") +#device(waveform,VME_IO,devWfPentek4261,"Pentek 4261") +#device(waveform,CAMAC_IO,devWfCamac,"Camac") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger-VTR1") +#device(waveform,VME_IO,devWfComet,"Omnibyte-COMET") +#device(eg,VME_IO,devEg,"APS event generator G") +#device(egevent,VME_IO,devEgEvent,"APS event generator E") +#device(er,VME_IO,devEr,"APS event receiver") +#device(erevent,VME_IO,devErevent,"APS event receiver") +#device(wait,CONSTANT,devWaitIoEvent,"Soft Channel") +#device(ai,INST_IO,devAiCan,"CANbus") +#device(ao,INST_IO,devAoCan,"CANbus") +#device(bi,INST_IO,devBiCan,"CANbus") +#device(bo,INST_IO,devBoCan,"CANbus") +#device(mbbi,INST_IO,devMbbiCan,"CANbus") +#device(mbbo,INST_IO,devMbboCan,"CANbus") +#device(mbbiDirect,INST_IO,devMbbiDirectCan,"CANbus") +#device(mbboDirect,INST_IO,devMbboDirectCan,"CANbus") +#device(bi,VME_IO,devBiVmic2534,"Vmic2534") +#device(bo,VME_IO,devBoVmic2534,"Vmic2534") +#device(mbbi,VME_IO,devMbbiVmic2534,"Vmic2534") +#device(mbbo,VME_IO,devMbboVmic2534,"Vmic2534") + +include "symb.dbd" + +#device(ai,AB_IO,devAiAbSlcDcm,"AB-SLC500DCM") +#device(ai,AB_IO,devAiAbSlcDcmSigned,"AB-SLC500DCM-Signed") +#device(ao,AB_IO,devAoAbSlcDcm,"AB-SLC500DCM") +#device(longin,AB_IO,devLiAbSlcDcm,"AB-SLC500DCM") +#device(longout,AB_IO,devLoAbSlcDcm,"AB-SLC500DCM") + +#driver(drvXy010) +#driver(drvVxi) +#driver(drvGpib) +#driver(drvBitBus) +#driver(drvBb910) +#driver(drvXy210) +#driver(drvBb902) +#driver(drvXy220) +#driver(drvXy566) +#driver(drvDvx) +#driver(drvVmi4100) +#driver(drvAb) +#driver(drvAt5Vxi) +#driver(drvCompuSm) +#driver(drvOms) +#driver(drvMz8310) +#driver(drvHpe1368a) +#driver(drvXy240) +#driver(drvKscV215) +#driver(drvComet) +#driver(drvJgvtr1) +#driver(drvFp) +#driver(drvFpm) +#driver(drvIpac) +#driver(drvTip810) +#driver(drvVmi2534) +#include "bptTypeJdegC.dbd" +#include "bptTypeJdegF.dbd" +#include "bptTypeKdegC.dbd" +#include "bptTypeKdegF.dbd" diff --git a/motorExApp/NoMPF/Makefile b/motorExApp/NoMPF/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/NoMPF/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/NoMPF/Makefile.Host b/motorExApp/NoMPF/Makefile.Host new file mode 100644 index 00000000..f87aa54a --- /dev/null +++ b/motorExApp/NoMPF/Makefile.Host @@ -0,0 +1,12 @@ +# Makefile.Host +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +DBDEXPAND = NoMPFInclude.dbd +DBDNAME = NoMPFApp.dbd + +include $(TOP)/config/RULES.Host +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/NoMPF/Makefile.Vx b/motorExApp/NoMPF/Makefile.Vx new file mode 100644 index 00000000..a795a94f --- /dev/null +++ b/motorExApp/NoMPF/Makefile.Vx @@ -0,0 +1,29 @@ +# Makefile.Vx +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +# !!WARNING!! If you copy this file to your +# application, the following line +# MUST BE REMOVED and a MOTOR entry must be +# in your /config/RELEASE file. +MOTOR_BIN = $(TOP)/bin/$(T_A) + +include $(TEMPLATE_TOP)/exampleApp/src/baseLIBOBJS + +LIBOBJS += $(EPICS_BASE_BIN)/iocCore +LIBOBJS += $(EPICS_BASE_BIN)/seq + +LIBOBJS += $(MOTOR_BIN)/motorLib +LIBOBJS += $(MOTOR_BIN)/omsLib +LIBOBJS += $(MOTOR_BIN)/softMotorLib + +LIBNAME = NoMPFLib + +#Note that the command line that builds the +#library $(LIBNAME) may be HUGE (>3kB) +# +include $(TOP)/config/RULES.Vx +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/NoMPF/NoMPFInclude.dbd b/motorExApp/NoMPF/NoMPFInclude.dbd new file mode 100644 index 00000000..943bd565 --- /dev/null +++ b/motorExApp/NoMPF/NoMPFInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devOms.dbd" +include "devSoftMotor.dbd" diff --git a/motorExApp/NoMPF/base.dbd b/motorExApp/NoMPF/base.dbd new file mode 100644 index 00000000..8e6e1caa --- /dev/null +++ b/motorExApp/NoMPF/base.dbd @@ -0,0 +1,241 @@ +include "menuGlobal.dbd" +include "menuConvert.dbd" +include "aiRecord.dbd" +#include "aaiRecord.dbd" +include "aoRecord.dbd" +#include "aaoRecord.dbd" +include "biRecord.dbd" +include "boRecord.dbd" +include "calcRecord.dbd" +include "calcoutRecord.dbd" +include "compressRecord.dbd" +include "dfanoutRecord.dbd" +#include "egRecord.dbd" +#include "egeventRecord.dbd" +#include "erRecord.dbd" +#include "ereventRecord.dbd" +include "eventRecord.dbd" +include "fanoutRecord.dbd" +#include "histogramRecord.dbd" +include "longinRecord.dbd" +include "longoutRecord.dbd" +include "mbbiRecord.dbd" +include "mbbiDirectRecord.dbd" +include "mbboRecord.dbd" +include "mbboDirectRecord.dbd" +include "permissiveRecord.dbd" +include "pidRecord.dbd" +#include "pulseCounterRecord.dbd" +#include "pulseDelayRecord.dbd" +#include "pulseTrainRecord.dbd" +#include "scanRecord.dbd" +include "selRecord.dbd" +include "seqRecord.dbd" +include "stateRecord.dbd" +#include "steppermotorRecord.dbd" +include "stringinRecord.dbd" +include "stringoutRecord.dbd" +include "subRecord.dbd" +#include "gsubRecord.dbd" +#include "palRecord.dbd" +include "subArrayRecord.dbd" +#include "timerRecord.dbd" +#include "waitRecord.dbd" +include "waveformRecord.dbd" +device(ai,CONSTANT,devAiSoft,"Soft Channel") +device(ai,CONSTANT,devAiSoftRaw,"Raw Soft Channel") +#device(ai,VME_IO,devAiXy566Se,"XYCOM-566 SE Scanned") +#device(ai,VME_IO,devAiXy566Di,"XYCOM-566 Dif Scanned") +#device(ai,VME_IO,devAiXy566DiL,"XYCOM-566 Dif Latched") +#device(ai,VME_IO,devAiDvx2502,"DVX-2502") +#device(ai,CONSTANT,devAiTestAsyn,"Test Asyn") +#device(ai,AB_IO,devAiAb1771Il,"AB-1771IL-Analog In") +#device(ai,AB_IO,devAiAb1771Ife,"AB-1771IFE") +#device(ai,AB_IO,devAiAb1771Ixe,"AB-1771IXE-Millivolt In") +#device(ai,AB_IO,devAiAb1771IfeSe,"AB-1771IFE-SE") +#device(ai,AB_IO,devAiAb1771IfeMa,"AB-1771IFE-4to20MA") +#device(ai,AB_IO,devAiAb1771Ife0to5V,"AB-1771IFE-0to5Volt") +#device(ai,AB_IO,devAiAb1771IrPlatinum,"AB-1771RTD-Platinum") +#device(ai,AB_IO,devAiAb1771IrCopper,"AB-1771RTD-Copper") +#device(ai,CAMAC_IO,devAiCamac,"Camac") +#device(ai,VME_IO,devAiAt5Vxi,"VXI-AT5-AI") +#device(ai,GPIB_IO,devAiK486Gpib,"Keithley-486") +#device(ai,VME_IO,devAiKscV215,"KSC-V215") +#device(ai,INST_IO,devAiVXStats,"VX stats") +#device(aai,CAMAC_IO,devAaiCamac,"Camac") +device(ao,CONSTANT,devAoSoft,"Soft Channel") +device(ao,CONSTANT,devAoSoftRaw,"Raw Soft Channel") +#device(ao,VME_IO,devAoVmiVme4100,"VMIVME-4100") +#device(ao,CONSTANT,devAoTestAsyn,"Test Asyn") +#device(ao,AB_IO,devAoAb1771Ofe,"AB-1771OFE") +#device(ao,CAMAC_IO,devAoCamac,"Camac") +#device(ao,VME_IO,devAoAt5Vxi,"VXI-AT5-AO") +#device(ao,INST_IO,devAoVXStats,"VX stats") +device(bi,CONSTANT,devBiSoft,"Soft Channel") +device(bi,CONSTANT,devBiSoftRaw,"Raw Soft Channel") +#device(bi,VME_IO,devBiMpv910,"MPV-910") +#device(bi,VME_IO,devBiXVme210,"XVME-210") +#device(bi,CONSTANT,devBiTestAsyn,"Test Asyn") +#device(bi,AB_IO,devBiAb,"AB-Binary Input") +#device(bi,AB_IO,devBiAb16,"AB-16 bit BI") +#device(bi,AB_IO,devBiAb32,"AB-32 bit BI") +#device(bi,CAMAC_IO,devBiCamac,"Camac") +#device(bi,VME_IO,devBiAt5Vxi,"VXI-AT5-BI") +#device(bi,VME_IO,devBiXy240,"XYCOM-240") +#device(bi,VME_IO,devBiHpe1368a,"VXI-HPE1368-VS") +#device(bi,VME_IO,devBiAt8Fp,"AT8-FP10S") +#device(bi,VME_IO,devBiAvme9440,"AVME9440 I") +device(bo,CONSTANT,devBoSoft,"Soft Channel") +device(bo,CONSTANT,devBoSoftRaw,"Raw Soft Channel") +#device(bo,VME_IO,devBoMpv902,"MPV-902") +#device(bo,VME_IO,devBoXVme220,"XVME-220") +#device(bo,CONSTANT,devBoTestAsyn,"Test Asyn") +#device(bo,AB_IO,devBoAb,"AB-Binary Output") +#device(bo,AB_IO,devBoAb16,"AB-16 bit BO") +#device(bo,AB_IO,devBoAb32,"AB-32 bit BO") +#device(bo,CAMAC_IO,devBoCamac,"Camac") +#device(bo,VME_IO,devBoAt5Vxi,"VXI-AT5-BO") +#device(bo,GPIB_IO,devBoK486Gpib,"Keithley-486") +#device(bo,VME_IO,devBoXy240,"XYCOM-240") +#device(bo,VME_IO,devBoHpe1368a,"VXI-HPE1368-VS") +#device(bo,VME_IO,devBoAt8Fp,"AT8-FP10S") +#device(bo,VME_IO,devBoAvme9440,"AVME9440 O") +device(event,CONSTANT,devEventSoft,"Soft Channel") +#device(event,VME_IO,devEventMz8310,"Mizar-8310") +#device(event,CONSTANT,devEventTestIoEvent,"Test IoEvent") +#device(event,VME_IO,devErEpicsEvent,"APS event receiver") +#device(histogram,CONSTANT,devHistogramSoft,"Soft Channel") +#device(histogram,CONSTANT,devHistogramTestAsyn,"Test Asyn") +device(longin,CONSTANT,devLiSoft,"Soft Channel") +#device(longin,CAMAC_IO,devLiCamac,"Camac") +device(longout,CONSTANT,devLoSoft,"Soft Channel") +#device(longout,CAMAC_IO,devLoCamac,"Camac") +device(mbbi,CONSTANT,devMbbiSoft,"Soft Channel") +device(mbbi,CONSTANT,devMbbiSoftRaw,"Raw Soft Channel") +#device(mbbi,VME_IO,devMbbiMpv910,"MPV-910") +#device(mbbi,VME_IO,devMbbiXVme210,"XVME-210") +#device(mbbi,CONSTANT,devMbbiTestAsyn,"Test Asyn") +#device(mbbi,AB_IO,devMbbiAb,"AB-Binary Input") +#device(mbbi,AB_IO,devMbbiAb16,"AB-16 bit BI") +#device(mbbi,AB_IO,devMbbiAb32,"AB-32 bit BI") +#device(mbbi,AB_IO,devMbbiAbAdapterStat,"AB-Adapter Status") +#device(mbbi,AB_IO,devMbbiAbCardStat,"AB-Card Status") +#device(mbbi,CAMAC_IO,devMbbiCamac,"Camac") +#device(mbbi,VME_IO,devMbbiAt5Vxi,"VXI-AT5-BI") +#device(mbbi,VME_IO,devMbbiXy240,"XYCOM-240") +#device(mbbi,VME_IO,devMbbiHpe1368a,"VXI-HPE1368-VS") +#device(mbbi,VME_IO,devMbbiAt8Fp,"AT8-FP10S") +#device(mbbi,VME_IO,devMbbiAvme9440,"AVME9440 I") +device(mbbiDirect,CONSTANT,devMbbiDirectSoft,"Soft Channel") +device(mbbiDirect,CONSTANT,devMbbiDirectSoftRaw,"Raw Soft Channel") +#device(mbbiDirect,VME_IO,devMbbiDirectMpv910,"MPV-910") +#device(mbbiDirect,VME_IO,devMbbiDirectXVme210,"XVME-210") +#device(mbbiDirect,AB_IO,devMbbiDirectAb,"AB-Binary Input") +#device(mbbiDirect,AB_IO,devMbbiDirectAb16,"AB-16 bit BI") +#device(mbbiDirect,AB_IO,devMbbiDirectAb32,"AB-32 bit BI") +#device(mbbiDirect,CAMAC_IO,devMbbiDirectCamac,"Camac") +#device(mbbiDirect,VME_IO,devMbbiDirectAt5Vxi,"VXI-AT5-BI") +device(mbbo,CONSTANT,devMbboSoft,"Soft Channel") +device(mbbo,CONSTANT,devMbboSoftRaw,"Raw Soft Channel") +#device(mbbo,VME_IO,devMbboMpv902,"MPV-902") +#device(mbbo,VME_IO,devMbboXVme220,"XVME-220") +#device(mbbo,CONSTANT,devMbboTestAsyn,"Test Asyn") +#device(mbbo,AB_IO,devMbboAb,"AB-Binary Output") +#device(mbbo,AB_IO,devMbboAb16,"AB-16 bit BO") +#device(mbbo,AB_IO,devMbboAb32,"AB-32 bit BO") +#device(mbbo,VME_IO,devMbboAt5Vxi,"VXI-AT5-BO") +#device(mbbo,GPIB_IO,devMbboK486Gpib,"Keithley-486") +#device(mbbo,VME_IO,devMbboXy240,"XYCOM-240") +#device(mbbo,VME_IO,devMbboHpe1368a,"VXI-HPE1368-VS") +#device(mbbo,VME_IO,devMbboAt8Fp,"AT8-FP10S") +#device(mbbo,VME_IO,devMbboAvme9440,"AVME9440 O") +device(mbboDirect,CONSTANT,devMbboDirectSoft,"Soft Channel") +device(mbboDirect,CONSTANT,devMbboDirectSoftRaw,"Raw Soft Channel") +#device(mbboDirect,VME_IO,devMbboDirectMpv902,"MPV-902") +#device(mbboDirect,VME_IO,devMbboDirectXVme220,"XVME-220") +#device(mbboDirect,AB_IO,devMbboDirectAb,"AB-Binary Output") +#device(mbboDirect,AB_IO,devMbboDirectAb16,"AB-16 bit BO") +#device(mbboDirect,AB_IO,devMbboDirectAb32,"AB-32 bit BO") +#device(mbboDirect,CAMAC_IO,devMbboDirectCamac,"Camac") +#device(mbboDirect,VME_IO,devMbboDirectAt5Vxi,"VXI-AT5-BO") +#device(pulseCounter,VME_IO,devPcMz8310,"Mizar-8310") +#device(pulseDelay,VME_IO,devPdMz8310,"Mizar-8310") +#device(pulseTrain,CONSTANT,devPtSoft,"Soft Channel") +#device(pulseTrain,VME_IO,devPtMz8310,"Mizar-8310") +#device(steppermotor,VME_IO,devSmCompumotor1830,"Compumotor 1830") +#device(steppermotor,VME_IO,devSmOms6Axis,"OMS 6-Axis") +#device(steppermotor,AB_IO,devSmAB1746Hstp1,"Allen Bradley 1746-HTSP1") +device(stringin,CONSTANT,devSiSoft,"Soft Channel") +#device(stringin,CONSTANT,devSiTestAsyn,"Test Asyn") +device(stringout,CONSTANT,devSoSoft,"Soft Channel") +#device(stringout,CONSTANT,devSoTestAsyn,"Test Asyn") +device(subArray,CONSTANT,devSASoft,"Soft Channel") +#device(timer,VME_IO,devTmMizar8310,"Mizar-8310") +#device(timer,VME_IO,devTmDg535,"DG 535") +#device(timer,VME_IO,devTmAt5Vxi,"VXI-AT5-TIME") +device(waveform,CONSTANT,devWfSoft,"Soft Channel") +#device(waveform,VME_IO,devWfXy566Sc,"XYCOM-566 Single Channel") +#device(waveform,VME_IO,devWfComet,"Comet Digitizer") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger Digitizer") +#device(waveform,CONSTANT,devWfTestAsyn,"Test Asyn") +#device(waveform,VME_IO,devWfDvx2502,"DVX-2502") +#device(waveform,VME_IO,devWfPentek4261,"Pentek 4261") +#device(waveform,CAMAC_IO,devWfCamac,"Camac") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger-VTR1") +#device(waveform,VME_IO,devWfComet,"Omnibyte-COMET") +#device(eg,VME_IO,devEg,"APS event generator G") +#device(egevent,VME_IO,devEgEvent,"APS event generator E") +#device(er,VME_IO,devEr,"APS event receiver") +#device(erevent,VME_IO,devErevent,"APS event receiver") +#device(wait,CONSTANT,devWaitIoEvent,"Soft Channel") +#device(ai,INST_IO,devAiCan,"CANbus") +#device(ao,INST_IO,devAoCan,"CANbus") +#device(bi,INST_IO,devBiCan,"CANbus") +#device(bo,INST_IO,devBoCan,"CANbus") +#device(mbbi,INST_IO,devMbbiCan,"CANbus") +#device(mbbo,INST_IO,devMbboCan,"CANbus") +#device(mbbiDirect,INST_IO,devMbbiDirectCan,"CANbus") +#device(mbboDirect,INST_IO,devMbboDirectCan,"CANbus") +#device(bi,VME_IO,devBiVmic2534,"Vmic2534") +#device(bo,VME_IO,devBoVmic2534,"Vmic2534") +#device(mbbi,VME_IO,devMbbiVmic2534,"Vmic2534") +#device(mbbo,VME_IO,devMbboVmic2534,"Vmic2534") + +include "symb.dbd" + +#device(ai,AB_IO,devAiAbSlcDcm,"AB-SLC500DCM") +#device(ai,AB_IO,devAiAbSlcDcmSigned,"AB-SLC500DCM-Signed") +#device(ao,AB_IO,devAoAbSlcDcm,"AB-SLC500DCM") +#device(longin,AB_IO,devLiAbSlcDcm,"AB-SLC500DCM") +#device(longout,AB_IO,devLoAbSlcDcm,"AB-SLC500DCM") + +#driver(drvXy010) +#driver(drvVxi) +#driver(drvGpib) +#driver(drvBitBus) +#driver(drvBb910) +#driver(drvXy210) +#driver(drvBb902) +#driver(drvXy220) +#driver(drvXy566) +#driver(drvDvx) +#driver(drvVmi4100) +#driver(drvAb) +#driver(drvAt5Vxi) +#driver(drvCompuSm) +#driver(drvOms) +#driver(drvMz8310) +#driver(drvHpe1368a) +#driver(drvXy240) +#driver(drvKscV215) +#driver(drvComet) +#driver(drvJgvtr1) +#driver(drvFp) +#driver(drvFpm) +#driver(drvIpac) +#driver(drvTip810) +#driver(drvVmi2534) +#include "bptTypeJdegC.dbd" +#include "bptTypeJdegF.dbd" +#include "bptTypeKdegC.dbd" +#include "bptTypeKdegF.dbd" diff --git a/motorExApp/WithAsyn/Makefile b/motorExApp/WithAsyn/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/WithAsyn/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/WithAsyn/Makefile.Host b/motorExApp/WithAsyn/Makefile.Host new file mode 100644 index 00000000..191ee244 --- /dev/null +++ b/motorExApp/WithAsyn/Makefile.Host @@ -0,0 +1,12 @@ +# Makefile.Host +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +DBDEXPAND = WithMPFInclude.dbd +DBDNAME = WithMPFApp.dbd + +include $(TOP)/config/RULES.Host +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/WithAsyn/Makefile.Vx b/motorExApp/WithAsyn/Makefile.Vx new file mode 100644 index 00000000..dc142aab --- /dev/null +++ b/motorExApp/WithAsyn/Makefile.Vx @@ -0,0 +1,61 @@ +# The WithMPF IOC can be configured either as a MPF client in a two CPU board +# configuration, or as a single CPU board with both MPF client and server on +# the same CPU board. Remove either the "# !MPF-1-CPU! #" or the +# "# !MPF-2-CPU! #" comment to configure. + + +# Makefile.Vx +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +# !!WARNING!! If you copy this file to your +# application, the following line +# MUST BE REMOVED and a MOTOR entry must be +# in your /config/RELEASE file. +MOTOR_BIN = $(TOP)/bin/$(T_A) + +include $(TEMPLATE_TOP)/exampleApp/src/baseLIBOBJS + +LIBOBJS += $(EPICS_BASE_BIN)/iocCore + +LIBOBJS += $(MOTOR_BIN)/motorLib +LIBOBJS += $(MOTOR_BIN)/motorCOM_mpf +LIBOBJS += $(MOTOR_BIN)/ImsLib +LIBOBJS += $(MOTOR_BIN)/newportLib + +LIBOBJS += $(MPF_BIN)/mpfLib +LIBOBJS += $(MPF_BIN)/ipLib + +LIBOBJS += $(MPF_SERIAL_BIN)/OctalUART.o +LIBOBJS += $(MPF_SERIAL_BIN)/SerialPort.o +LIBOBJS += $(MPF_SERIAL_BIN)/serialServer.o + +LIBOBJS += $(MPF_GPIB_BIN)/GpibGsTi9914.o +LIBOBJS += $(MPF_GPIB_BIN)/Gpib.o +LIBOBJS += $(MPF_GPIB_BIN)/gpibServer.o +# !MPF-1-CPU! #LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosLocal.o +# !MPF-2-CPU! #LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosRemote.o +LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosRemote.o + +# The motor communication library (i.e. motorCOM_mpf) +# requires both serial and GPIB support. Some motion +# controllers (e.g., Newport) can be configured from +# the st.cmd file for either serial or GPIB +# communication; hence, the reason for supporting both +# at run time. + +LIBOBJS += $(EPICS_BASE_BIN)/drvGpib.o +# Up to and including EPICS base R3.13.3, drvGpib.o +# requires drvBitBus.o below. +LIBOBJS += $(EPICS_BASE_BIN)/drvBitBus.o + +LIBNAME = WithMPFLib + +#Note that the command line that builds the +#library $(LIBNAME) may be HUGE (>3kB) +# +include $(TOP)/config/RULES.Vx +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/WithAsyn/WithAsynInclude.dbd b/motorExApp/WithAsyn/WithAsynInclude.dbd new file mode 100644 index 00000000..97a6e274 --- /dev/null +++ b/motorExApp/WithAsyn/WithAsynInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devNewport.dbd" +include "devImsMotor.dbd" diff --git a/motorExApp/WithAsyn/WithMPFInclude.dbd b/motorExApp/WithAsyn/WithMPFInclude.dbd new file mode 100644 index 00000000..97a6e274 --- /dev/null +++ b/motorExApp/WithAsyn/WithMPFInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devNewport.dbd" +include "devImsMotor.dbd" diff --git a/motorExApp/WithAsyn/base.dbd b/motorExApp/WithAsyn/base.dbd new file mode 100644 index 00000000..8e6e1caa --- /dev/null +++ b/motorExApp/WithAsyn/base.dbd @@ -0,0 +1,241 @@ +include "menuGlobal.dbd" +include "menuConvert.dbd" +include "aiRecord.dbd" +#include "aaiRecord.dbd" +include "aoRecord.dbd" +#include "aaoRecord.dbd" +include "biRecord.dbd" +include "boRecord.dbd" +include "calcRecord.dbd" +include "calcoutRecord.dbd" +include "compressRecord.dbd" +include "dfanoutRecord.dbd" +#include "egRecord.dbd" +#include "egeventRecord.dbd" +#include "erRecord.dbd" +#include "ereventRecord.dbd" +include "eventRecord.dbd" +include "fanoutRecord.dbd" +#include "histogramRecord.dbd" +include "longinRecord.dbd" +include "longoutRecord.dbd" +include "mbbiRecord.dbd" +include "mbbiDirectRecord.dbd" +include "mbboRecord.dbd" +include "mbboDirectRecord.dbd" +include "permissiveRecord.dbd" +include "pidRecord.dbd" +#include "pulseCounterRecord.dbd" +#include "pulseDelayRecord.dbd" +#include "pulseTrainRecord.dbd" +#include "scanRecord.dbd" +include "selRecord.dbd" +include "seqRecord.dbd" +include "stateRecord.dbd" +#include "steppermotorRecord.dbd" +include "stringinRecord.dbd" +include "stringoutRecord.dbd" +include "subRecord.dbd" +#include "gsubRecord.dbd" +#include "palRecord.dbd" +include "subArrayRecord.dbd" +#include "timerRecord.dbd" +#include "waitRecord.dbd" +include "waveformRecord.dbd" +device(ai,CONSTANT,devAiSoft,"Soft Channel") +device(ai,CONSTANT,devAiSoftRaw,"Raw Soft Channel") +#device(ai,VME_IO,devAiXy566Se,"XYCOM-566 SE Scanned") +#device(ai,VME_IO,devAiXy566Di,"XYCOM-566 Dif Scanned") +#device(ai,VME_IO,devAiXy566DiL,"XYCOM-566 Dif Latched") +#device(ai,VME_IO,devAiDvx2502,"DVX-2502") +#device(ai,CONSTANT,devAiTestAsyn,"Test Asyn") +#device(ai,AB_IO,devAiAb1771Il,"AB-1771IL-Analog In") +#device(ai,AB_IO,devAiAb1771Ife,"AB-1771IFE") +#device(ai,AB_IO,devAiAb1771Ixe,"AB-1771IXE-Millivolt In") +#device(ai,AB_IO,devAiAb1771IfeSe,"AB-1771IFE-SE") +#device(ai,AB_IO,devAiAb1771IfeMa,"AB-1771IFE-4to20MA") +#device(ai,AB_IO,devAiAb1771Ife0to5V,"AB-1771IFE-0to5Volt") +#device(ai,AB_IO,devAiAb1771IrPlatinum,"AB-1771RTD-Platinum") +#device(ai,AB_IO,devAiAb1771IrCopper,"AB-1771RTD-Copper") +#device(ai,CAMAC_IO,devAiCamac,"Camac") +#device(ai,VME_IO,devAiAt5Vxi,"VXI-AT5-AI") +#device(ai,GPIB_IO,devAiK486Gpib,"Keithley-486") +#device(ai,VME_IO,devAiKscV215,"KSC-V215") +#device(ai,INST_IO,devAiVXStats,"VX stats") +#device(aai,CAMAC_IO,devAaiCamac,"Camac") +device(ao,CONSTANT,devAoSoft,"Soft Channel") +device(ao,CONSTANT,devAoSoftRaw,"Raw Soft Channel") +#device(ao,VME_IO,devAoVmiVme4100,"VMIVME-4100") +#device(ao,CONSTANT,devAoTestAsyn,"Test Asyn") +#device(ao,AB_IO,devAoAb1771Ofe,"AB-1771OFE") +#device(ao,CAMAC_IO,devAoCamac,"Camac") +#device(ao,VME_IO,devAoAt5Vxi,"VXI-AT5-AO") +#device(ao,INST_IO,devAoVXStats,"VX stats") +device(bi,CONSTANT,devBiSoft,"Soft Channel") +device(bi,CONSTANT,devBiSoftRaw,"Raw Soft Channel") +#device(bi,VME_IO,devBiMpv910,"MPV-910") +#device(bi,VME_IO,devBiXVme210,"XVME-210") +#device(bi,CONSTANT,devBiTestAsyn,"Test Asyn") +#device(bi,AB_IO,devBiAb,"AB-Binary Input") +#device(bi,AB_IO,devBiAb16,"AB-16 bit BI") +#device(bi,AB_IO,devBiAb32,"AB-32 bit BI") +#device(bi,CAMAC_IO,devBiCamac,"Camac") +#device(bi,VME_IO,devBiAt5Vxi,"VXI-AT5-BI") +#device(bi,VME_IO,devBiXy240,"XYCOM-240") +#device(bi,VME_IO,devBiHpe1368a,"VXI-HPE1368-VS") +#device(bi,VME_IO,devBiAt8Fp,"AT8-FP10S") +#device(bi,VME_IO,devBiAvme9440,"AVME9440 I") +device(bo,CONSTANT,devBoSoft,"Soft Channel") +device(bo,CONSTANT,devBoSoftRaw,"Raw Soft Channel") +#device(bo,VME_IO,devBoMpv902,"MPV-902") +#device(bo,VME_IO,devBoXVme220,"XVME-220") +#device(bo,CONSTANT,devBoTestAsyn,"Test Asyn") +#device(bo,AB_IO,devBoAb,"AB-Binary Output") +#device(bo,AB_IO,devBoAb16,"AB-16 bit BO") +#device(bo,AB_IO,devBoAb32,"AB-32 bit BO") +#device(bo,CAMAC_IO,devBoCamac,"Camac") +#device(bo,VME_IO,devBoAt5Vxi,"VXI-AT5-BO") +#device(bo,GPIB_IO,devBoK486Gpib,"Keithley-486") +#device(bo,VME_IO,devBoXy240,"XYCOM-240") +#device(bo,VME_IO,devBoHpe1368a,"VXI-HPE1368-VS") +#device(bo,VME_IO,devBoAt8Fp,"AT8-FP10S") +#device(bo,VME_IO,devBoAvme9440,"AVME9440 O") +device(event,CONSTANT,devEventSoft,"Soft Channel") +#device(event,VME_IO,devEventMz8310,"Mizar-8310") +#device(event,CONSTANT,devEventTestIoEvent,"Test IoEvent") +#device(event,VME_IO,devErEpicsEvent,"APS event receiver") +#device(histogram,CONSTANT,devHistogramSoft,"Soft Channel") +#device(histogram,CONSTANT,devHistogramTestAsyn,"Test Asyn") +device(longin,CONSTANT,devLiSoft,"Soft Channel") +#device(longin,CAMAC_IO,devLiCamac,"Camac") +device(longout,CONSTANT,devLoSoft,"Soft Channel") +#device(longout,CAMAC_IO,devLoCamac,"Camac") +device(mbbi,CONSTANT,devMbbiSoft,"Soft Channel") +device(mbbi,CONSTANT,devMbbiSoftRaw,"Raw Soft Channel") +#device(mbbi,VME_IO,devMbbiMpv910,"MPV-910") +#device(mbbi,VME_IO,devMbbiXVme210,"XVME-210") +#device(mbbi,CONSTANT,devMbbiTestAsyn,"Test Asyn") +#device(mbbi,AB_IO,devMbbiAb,"AB-Binary Input") +#device(mbbi,AB_IO,devMbbiAb16,"AB-16 bit BI") +#device(mbbi,AB_IO,devMbbiAb32,"AB-32 bit BI") +#device(mbbi,AB_IO,devMbbiAbAdapterStat,"AB-Adapter Status") +#device(mbbi,AB_IO,devMbbiAbCardStat,"AB-Card Status") +#device(mbbi,CAMAC_IO,devMbbiCamac,"Camac") +#device(mbbi,VME_IO,devMbbiAt5Vxi,"VXI-AT5-BI") +#device(mbbi,VME_IO,devMbbiXy240,"XYCOM-240") +#device(mbbi,VME_IO,devMbbiHpe1368a,"VXI-HPE1368-VS") +#device(mbbi,VME_IO,devMbbiAt8Fp,"AT8-FP10S") +#device(mbbi,VME_IO,devMbbiAvme9440,"AVME9440 I") +device(mbbiDirect,CONSTANT,devMbbiDirectSoft,"Soft Channel") +device(mbbiDirect,CONSTANT,devMbbiDirectSoftRaw,"Raw Soft Channel") +#device(mbbiDirect,VME_IO,devMbbiDirectMpv910,"MPV-910") +#device(mbbiDirect,VME_IO,devMbbiDirectXVme210,"XVME-210") +#device(mbbiDirect,AB_IO,devMbbiDirectAb,"AB-Binary Input") +#device(mbbiDirect,AB_IO,devMbbiDirectAb16,"AB-16 bit BI") +#device(mbbiDirect,AB_IO,devMbbiDirectAb32,"AB-32 bit BI") +#device(mbbiDirect,CAMAC_IO,devMbbiDirectCamac,"Camac") +#device(mbbiDirect,VME_IO,devMbbiDirectAt5Vxi,"VXI-AT5-BI") +device(mbbo,CONSTANT,devMbboSoft,"Soft Channel") +device(mbbo,CONSTANT,devMbboSoftRaw,"Raw Soft Channel") +#device(mbbo,VME_IO,devMbboMpv902,"MPV-902") +#device(mbbo,VME_IO,devMbboXVme220,"XVME-220") +#device(mbbo,CONSTANT,devMbboTestAsyn,"Test Asyn") +#device(mbbo,AB_IO,devMbboAb,"AB-Binary Output") +#device(mbbo,AB_IO,devMbboAb16,"AB-16 bit BO") +#device(mbbo,AB_IO,devMbboAb32,"AB-32 bit BO") +#device(mbbo,VME_IO,devMbboAt5Vxi,"VXI-AT5-BO") +#device(mbbo,GPIB_IO,devMbboK486Gpib,"Keithley-486") +#device(mbbo,VME_IO,devMbboXy240,"XYCOM-240") +#device(mbbo,VME_IO,devMbboHpe1368a,"VXI-HPE1368-VS") +#device(mbbo,VME_IO,devMbboAt8Fp,"AT8-FP10S") +#device(mbbo,VME_IO,devMbboAvme9440,"AVME9440 O") +device(mbboDirect,CONSTANT,devMbboDirectSoft,"Soft Channel") +device(mbboDirect,CONSTANT,devMbboDirectSoftRaw,"Raw Soft Channel") +#device(mbboDirect,VME_IO,devMbboDirectMpv902,"MPV-902") +#device(mbboDirect,VME_IO,devMbboDirectXVme220,"XVME-220") +#device(mbboDirect,AB_IO,devMbboDirectAb,"AB-Binary Output") +#device(mbboDirect,AB_IO,devMbboDirectAb16,"AB-16 bit BO") +#device(mbboDirect,AB_IO,devMbboDirectAb32,"AB-32 bit BO") +#device(mbboDirect,CAMAC_IO,devMbboDirectCamac,"Camac") +#device(mbboDirect,VME_IO,devMbboDirectAt5Vxi,"VXI-AT5-BO") +#device(pulseCounter,VME_IO,devPcMz8310,"Mizar-8310") +#device(pulseDelay,VME_IO,devPdMz8310,"Mizar-8310") +#device(pulseTrain,CONSTANT,devPtSoft,"Soft Channel") +#device(pulseTrain,VME_IO,devPtMz8310,"Mizar-8310") +#device(steppermotor,VME_IO,devSmCompumotor1830,"Compumotor 1830") +#device(steppermotor,VME_IO,devSmOms6Axis,"OMS 6-Axis") +#device(steppermotor,AB_IO,devSmAB1746Hstp1,"Allen Bradley 1746-HTSP1") +device(stringin,CONSTANT,devSiSoft,"Soft Channel") +#device(stringin,CONSTANT,devSiTestAsyn,"Test Asyn") +device(stringout,CONSTANT,devSoSoft,"Soft Channel") +#device(stringout,CONSTANT,devSoTestAsyn,"Test Asyn") +device(subArray,CONSTANT,devSASoft,"Soft Channel") +#device(timer,VME_IO,devTmMizar8310,"Mizar-8310") +#device(timer,VME_IO,devTmDg535,"DG 535") +#device(timer,VME_IO,devTmAt5Vxi,"VXI-AT5-TIME") +device(waveform,CONSTANT,devWfSoft,"Soft Channel") +#device(waveform,VME_IO,devWfXy566Sc,"XYCOM-566 Single Channel") +#device(waveform,VME_IO,devWfComet,"Comet Digitizer") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger Digitizer") +#device(waveform,CONSTANT,devWfTestAsyn,"Test Asyn") +#device(waveform,VME_IO,devWfDvx2502,"DVX-2502") +#device(waveform,VME_IO,devWfPentek4261,"Pentek 4261") +#device(waveform,CAMAC_IO,devWfCamac,"Camac") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger-VTR1") +#device(waveform,VME_IO,devWfComet,"Omnibyte-COMET") +#device(eg,VME_IO,devEg,"APS event generator G") +#device(egevent,VME_IO,devEgEvent,"APS event generator E") +#device(er,VME_IO,devEr,"APS event receiver") +#device(erevent,VME_IO,devErevent,"APS event receiver") +#device(wait,CONSTANT,devWaitIoEvent,"Soft Channel") +#device(ai,INST_IO,devAiCan,"CANbus") +#device(ao,INST_IO,devAoCan,"CANbus") +#device(bi,INST_IO,devBiCan,"CANbus") +#device(bo,INST_IO,devBoCan,"CANbus") +#device(mbbi,INST_IO,devMbbiCan,"CANbus") +#device(mbbo,INST_IO,devMbboCan,"CANbus") +#device(mbbiDirect,INST_IO,devMbbiDirectCan,"CANbus") +#device(mbboDirect,INST_IO,devMbboDirectCan,"CANbus") +#device(bi,VME_IO,devBiVmic2534,"Vmic2534") +#device(bo,VME_IO,devBoVmic2534,"Vmic2534") +#device(mbbi,VME_IO,devMbbiVmic2534,"Vmic2534") +#device(mbbo,VME_IO,devMbboVmic2534,"Vmic2534") + +include "symb.dbd" + +#device(ai,AB_IO,devAiAbSlcDcm,"AB-SLC500DCM") +#device(ai,AB_IO,devAiAbSlcDcmSigned,"AB-SLC500DCM-Signed") +#device(ao,AB_IO,devAoAbSlcDcm,"AB-SLC500DCM") +#device(longin,AB_IO,devLiAbSlcDcm,"AB-SLC500DCM") +#device(longout,AB_IO,devLoAbSlcDcm,"AB-SLC500DCM") + +#driver(drvXy010) +#driver(drvVxi) +#driver(drvGpib) +#driver(drvBitBus) +#driver(drvBb910) +#driver(drvXy210) +#driver(drvBb902) +#driver(drvXy220) +#driver(drvXy566) +#driver(drvDvx) +#driver(drvVmi4100) +#driver(drvAb) +#driver(drvAt5Vxi) +#driver(drvCompuSm) +#driver(drvOms) +#driver(drvMz8310) +#driver(drvHpe1368a) +#driver(drvXy240) +#driver(drvKscV215) +#driver(drvComet) +#driver(drvJgvtr1) +#driver(drvFp) +#driver(drvFpm) +#driver(drvIpac) +#driver(drvTip810) +#driver(drvVmi2534) +#include "bptTypeJdegC.dbd" +#include "bptTypeJdegF.dbd" +#include "bptTypeKdegC.dbd" +#include "bptTypeKdegF.dbd" diff --git a/motorExApp/WithMPF/Makefile b/motorExApp/WithMPF/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/WithMPF/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/WithMPF/Makefile.Host b/motorExApp/WithMPF/Makefile.Host new file mode 100644 index 00000000..191ee244 --- /dev/null +++ b/motorExApp/WithMPF/Makefile.Host @@ -0,0 +1,12 @@ +# Makefile.Host +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +DBDEXPAND = WithMPFInclude.dbd +DBDNAME = WithMPFApp.dbd + +include $(TOP)/config/RULES.Host +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/WithMPF/Makefile.Vx b/motorExApp/WithMPF/Makefile.Vx new file mode 100644 index 00000000..dc142aab --- /dev/null +++ b/motorExApp/WithMPF/Makefile.Vx @@ -0,0 +1,61 @@ +# The WithMPF IOC can be configured either as a MPF client in a two CPU board +# configuration, or as a single CPU board with both MPF client and server on +# the same CPU board. Remove either the "# !MPF-1-CPU! #" or the +# "# !MPF-2-CPU! #" comment to configure. + + +# Makefile.Vx +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +# !!WARNING!! If you copy this file to your +# application, the following line +# MUST BE REMOVED and a MOTOR entry must be +# in your /config/RELEASE file. +MOTOR_BIN = $(TOP)/bin/$(T_A) + +include $(TEMPLATE_TOP)/exampleApp/src/baseLIBOBJS + +LIBOBJS += $(EPICS_BASE_BIN)/iocCore + +LIBOBJS += $(MOTOR_BIN)/motorLib +LIBOBJS += $(MOTOR_BIN)/motorCOM_mpf +LIBOBJS += $(MOTOR_BIN)/ImsLib +LIBOBJS += $(MOTOR_BIN)/newportLib + +LIBOBJS += $(MPF_BIN)/mpfLib +LIBOBJS += $(MPF_BIN)/ipLib + +LIBOBJS += $(MPF_SERIAL_BIN)/OctalUART.o +LIBOBJS += $(MPF_SERIAL_BIN)/SerialPort.o +LIBOBJS += $(MPF_SERIAL_BIN)/serialServer.o + +LIBOBJS += $(MPF_GPIB_BIN)/GpibGsTi9914.o +LIBOBJS += $(MPF_GPIB_BIN)/Gpib.o +LIBOBJS += $(MPF_GPIB_BIN)/gpibServer.o +# !MPF-1-CPU! #LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosLocal.o +# !MPF-2-CPU! #LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosRemote.o +LIBOBJS += $(MPF_GPIB_BIN)/GpibHideosRemote.o + +# The motor communication library (i.e. motorCOM_mpf) +# requires both serial and GPIB support. Some motion +# controllers (e.g., Newport) can be configured from +# the st.cmd file for either serial or GPIB +# communication; hence, the reason for supporting both +# at run time. + +LIBOBJS += $(EPICS_BASE_BIN)/drvGpib.o +# Up to and including EPICS base R3.13.3, drvGpib.o +# requires drvBitBus.o below. +LIBOBJS += $(EPICS_BASE_BIN)/drvBitBus.o + +LIBNAME = WithMPFLib + +#Note that the command line that builds the +#library $(LIBNAME) may be HUGE (>3kB) +# +include $(TOP)/config/RULES.Vx +#---------------------------------------- +# ADD RULES AFTER THIS LINE diff --git a/motorExApp/WithMPF/WithMPFInclude.dbd b/motorExApp/WithMPF/WithMPFInclude.dbd new file mode 100644 index 00000000..97a6e274 --- /dev/null +++ b/motorExApp/WithMPF/WithMPFInclude.dbd @@ -0,0 +1,4 @@ +include "base.dbd" +include "motorRecord.dbd" +include "devNewport.dbd" +include "devImsMotor.dbd" diff --git a/motorExApp/WithMPF/base.dbd b/motorExApp/WithMPF/base.dbd new file mode 100644 index 00000000..8e6e1caa --- /dev/null +++ b/motorExApp/WithMPF/base.dbd @@ -0,0 +1,241 @@ +include "menuGlobal.dbd" +include "menuConvert.dbd" +include "aiRecord.dbd" +#include "aaiRecord.dbd" +include "aoRecord.dbd" +#include "aaoRecord.dbd" +include "biRecord.dbd" +include "boRecord.dbd" +include "calcRecord.dbd" +include "calcoutRecord.dbd" +include "compressRecord.dbd" +include "dfanoutRecord.dbd" +#include "egRecord.dbd" +#include "egeventRecord.dbd" +#include "erRecord.dbd" +#include "ereventRecord.dbd" +include "eventRecord.dbd" +include "fanoutRecord.dbd" +#include "histogramRecord.dbd" +include "longinRecord.dbd" +include "longoutRecord.dbd" +include "mbbiRecord.dbd" +include "mbbiDirectRecord.dbd" +include "mbboRecord.dbd" +include "mbboDirectRecord.dbd" +include "permissiveRecord.dbd" +include "pidRecord.dbd" +#include "pulseCounterRecord.dbd" +#include "pulseDelayRecord.dbd" +#include "pulseTrainRecord.dbd" +#include "scanRecord.dbd" +include "selRecord.dbd" +include "seqRecord.dbd" +include "stateRecord.dbd" +#include "steppermotorRecord.dbd" +include "stringinRecord.dbd" +include "stringoutRecord.dbd" +include "subRecord.dbd" +#include "gsubRecord.dbd" +#include "palRecord.dbd" +include "subArrayRecord.dbd" +#include "timerRecord.dbd" +#include "waitRecord.dbd" +include "waveformRecord.dbd" +device(ai,CONSTANT,devAiSoft,"Soft Channel") +device(ai,CONSTANT,devAiSoftRaw,"Raw Soft Channel") +#device(ai,VME_IO,devAiXy566Se,"XYCOM-566 SE Scanned") +#device(ai,VME_IO,devAiXy566Di,"XYCOM-566 Dif Scanned") +#device(ai,VME_IO,devAiXy566DiL,"XYCOM-566 Dif Latched") +#device(ai,VME_IO,devAiDvx2502,"DVX-2502") +#device(ai,CONSTANT,devAiTestAsyn,"Test Asyn") +#device(ai,AB_IO,devAiAb1771Il,"AB-1771IL-Analog In") +#device(ai,AB_IO,devAiAb1771Ife,"AB-1771IFE") +#device(ai,AB_IO,devAiAb1771Ixe,"AB-1771IXE-Millivolt In") +#device(ai,AB_IO,devAiAb1771IfeSe,"AB-1771IFE-SE") +#device(ai,AB_IO,devAiAb1771IfeMa,"AB-1771IFE-4to20MA") +#device(ai,AB_IO,devAiAb1771Ife0to5V,"AB-1771IFE-0to5Volt") +#device(ai,AB_IO,devAiAb1771IrPlatinum,"AB-1771RTD-Platinum") +#device(ai,AB_IO,devAiAb1771IrCopper,"AB-1771RTD-Copper") +#device(ai,CAMAC_IO,devAiCamac,"Camac") +#device(ai,VME_IO,devAiAt5Vxi,"VXI-AT5-AI") +#device(ai,GPIB_IO,devAiK486Gpib,"Keithley-486") +#device(ai,VME_IO,devAiKscV215,"KSC-V215") +#device(ai,INST_IO,devAiVXStats,"VX stats") +#device(aai,CAMAC_IO,devAaiCamac,"Camac") +device(ao,CONSTANT,devAoSoft,"Soft Channel") +device(ao,CONSTANT,devAoSoftRaw,"Raw Soft Channel") +#device(ao,VME_IO,devAoVmiVme4100,"VMIVME-4100") +#device(ao,CONSTANT,devAoTestAsyn,"Test Asyn") +#device(ao,AB_IO,devAoAb1771Ofe,"AB-1771OFE") +#device(ao,CAMAC_IO,devAoCamac,"Camac") +#device(ao,VME_IO,devAoAt5Vxi,"VXI-AT5-AO") +#device(ao,INST_IO,devAoVXStats,"VX stats") +device(bi,CONSTANT,devBiSoft,"Soft Channel") +device(bi,CONSTANT,devBiSoftRaw,"Raw Soft Channel") +#device(bi,VME_IO,devBiMpv910,"MPV-910") +#device(bi,VME_IO,devBiXVme210,"XVME-210") +#device(bi,CONSTANT,devBiTestAsyn,"Test Asyn") +#device(bi,AB_IO,devBiAb,"AB-Binary Input") +#device(bi,AB_IO,devBiAb16,"AB-16 bit BI") +#device(bi,AB_IO,devBiAb32,"AB-32 bit BI") +#device(bi,CAMAC_IO,devBiCamac,"Camac") +#device(bi,VME_IO,devBiAt5Vxi,"VXI-AT5-BI") +#device(bi,VME_IO,devBiXy240,"XYCOM-240") +#device(bi,VME_IO,devBiHpe1368a,"VXI-HPE1368-VS") +#device(bi,VME_IO,devBiAt8Fp,"AT8-FP10S") +#device(bi,VME_IO,devBiAvme9440,"AVME9440 I") +device(bo,CONSTANT,devBoSoft,"Soft Channel") +device(bo,CONSTANT,devBoSoftRaw,"Raw Soft Channel") +#device(bo,VME_IO,devBoMpv902,"MPV-902") +#device(bo,VME_IO,devBoXVme220,"XVME-220") +#device(bo,CONSTANT,devBoTestAsyn,"Test Asyn") +#device(bo,AB_IO,devBoAb,"AB-Binary Output") +#device(bo,AB_IO,devBoAb16,"AB-16 bit BO") +#device(bo,AB_IO,devBoAb32,"AB-32 bit BO") +#device(bo,CAMAC_IO,devBoCamac,"Camac") +#device(bo,VME_IO,devBoAt5Vxi,"VXI-AT5-BO") +#device(bo,GPIB_IO,devBoK486Gpib,"Keithley-486") +#device(bo,VME_IO,devBoXy240,"XYCOM-240") +#device(bo,VME_IO,devBoHpe1368a,"VXI-HPE1368-VS") +#device(bo,VME_IO,devBoAt8Fp,"AT8-FP10S") +#device(bo,VME_IO,devBoAvme9440,"AVME9440 O") +device(event,CONSTANT,devEventSoft,"Soft Channel") +#device(event,VME_IO,devEventMz8310,"Mizar-8310") +#device(event,CONSTANT,devEventTestIoEvent,"Test IoEvent") +#device(event,VME_IO,devErEpicsEvent,"APS event receiver") +#device(histogram,CONSTANT,devHistogramSoft,"Soft Channel") +#device(histogram,CONSTANT,devHistogramTestAsyn,"Test Asyn") +device(longin,CONSTANT,devLiSoft,"Soft Channel") +#device(longin,CAMAC_IO,devLiCamac,"Camac") +device(longout,CONSTANT,devLoSoft,"Soft Channel") +#device(longout,CAMAC_IO,devLoCamac,"Camac") +device(mbbi,CONSTANT,devMbbiSoft,"Soft Channel") +device(mbbi,CONSTANT,devMbbiSoftRaw,"Raw Soft Channel") +#device(mbbi,VME_IO,devMbbiMpv910,"MPV-910") +#device(mbbi,VME_IO,devMbbiXVme210,"XVME-210") +#device(mbbi,CONSTANT,devMbbiTestAsyn,"Test Asyn") +#device(mbbi,AB_IO,devMbbiAb,"AB-Binary Input") +#device(mbbi,AB_IO,devMbbiAb16,"AB-16 bit BI") +#device(mbbi,AB_IO,devMbbiAb32,"AB-32 bit BI") +#device(mbbi,AB_IO,devMbbiAbAdapterStat,"AB-Adapter Status") +#device(mbbi,AB_IO,devMbbiAbCardStat,"AB-Card Status") +#device(mbbi,CAMAC_IO,devMbbiCamac,"Camac") +#device(mbbi,VME_IO,devMbbiAt5Vxi,"VXI-AT5-BI") +#device(mbbi,VME_IO,devMbbiXy240,"XYCOM-240") +#device(mbbi,VME_IO,devMbbiHpe1368a,"VXI-HPE1368-VS") +#device(mbbi,VME_IO,devMbbiAt8Fp,"AT8-FP10S") +#device(mbbi,VME_IO,devMbbiAvme9440,"AVME9440 I") +device(mbbiDirect,CONSTANT,devMbbiDirectSoft,"Soft Channel") +device(mbbiDirect,CONSTANT,devMbbiDirectSoftRaw,"Raw Soft Channel") +#device(mbbiDirect,VME_IO,devMbbiDirectMpv910,"MPV-910") +#device(mbbiDirect,VME_IO,devMbbiDirectXVme210,"XVME-210") +#device(mbbiDirect,AB_IO,devMbbiDirectAb,"AB-Binary Input") +#device(mbbiDirect,AB_IO,devMbbiDirectAb16,"AB-16 bit BI") +#device(mbbiDirect,AB_IO,devMbbiDirectAb32,"AB-32 bit BI") +#device(mbbiDirect,CAMAC_IO,devMbbiDirectCamac,"Camac") +#device(mbbiDirect,VME_IO,devMbbiDirectAt5Vxi,"VXI-AT5-BI") +device(mbbo,CONSTANT,devMbboSoft,"Soft Channel") +device(mbbo,CONSTANT,devMbboSoftRaw,"Raw Soft Channel") +#device(mbbo,VME_IO,devMbboMpv902,"MPV-902") +#device(mbbo,VME_IO,devMbboXVme220,"XVME-220") +#device(mbbo,CONSTANT,devMbboTestAsyn,"Test Asyn") +#device(mbbo,AB_IO,devMbboAb,"AB-Binary Output") +#device(mbbo,AB_IO,devMbboAb16,"AB-16 bit BO") +#device(mbbo,AB_IO,devMbboAb32,"AB-32 bit BO") +#device(mbbo,VME_IO,devMbboAt5Vxi,"VXI-AT5-BO") +#device(mbbo,GPIB_IO,devMbboK486Gpib,"Keithley-486") +#device(mbbo,VME_IO,devMbboXy240,"XYCOM-240") +#device(mbbo,VME_IO,devMbboHpe1368a,"VXI-HPE1368-VS") +#device(mbbo,VME_IO,devMbboAt8Fp,"AT8-FP10S") +#device(mbbo,VME_IO,devMbboAvme9440,"AVME9440 O") +device(mbboDirect,CONSTANT,devMbboDirectSoft,"Soft Channel") +device(mbboDirect,CONSTANT,devMbboDirectSoftRaw,"Raw Soft Channel") +#device(mbboDirect,VME_IO,devMbboDirectMpv902,"MPV-902") +#device(mbboDirect,VME_IO,devMbboDirectXVme220,"XVME-220") +#device(mbboDirect,AB_IO,devMbboDirectAb,"AB-Binary Output") +#device(mbboDirect,AB_IO,devMbboDirectAb16,"AB-16 bit BO") +#device(mbboDirect,AB_IO,devMbboDirectAb32,"AB-32 bit BO") +#device(mbboDirect,CAMAC_IO,devMbboDirectCamac,"Camac") +#device(mbboDirect,VME_IO,devMbboDirectAt5Vxi,"VXI-AT5-BO") +#device(pulseCounter,VME_IO,devPcMz8310,"Mizar-8310") +#device(pulseDelay,VME_IO,devPdMz8310,"Mizar-8310") +#device(pulseTrain,CONSTANT,devPtSoft,"Soft Channel") +#device(pulseTrain,VME_IO,devPtMz8310,"Mizar-8310") +#device(steppermotor,VME_IO,devSmCompumotor1830,"Compumotor 1830") +#device(steppermotor,VME_IO,devSmOms6Axis,"OMS 6-Axis") +#device(steppermotor,AB_IO,devSmAB1746Hstp1,"Allen Bradley 1746-HTSP1") +device(stringin,CONSTANT,devSiSoft,"Soft Channel") +#device(stringin,CONSTANT,devSiTestAsyn,"Test Asyn") +device(stringout,CONSTANT,devSoSoft,"Soft Channel") +#device(stringout,CONSTANT,devSoTestAsyn,"Test Asyn") +device(subArray,CONSTANT,devSASoft,"Soft Channel") +#device(timer,VME_IO,devTmMizar8310,"Mizar-8310") +#device(timer,VME_IO,devTmDg535,"DG 535") +#device(timer,VME_IO,devTmAt5Vxi,"VXI-AT5-TIME") +device(waveform,CONSTANT,devWfSoft,"Soft Channel") +#device(waveform,VME_IO,devWfXy566Sc,"XYCOM-566 Single Channel") +#device(waveform,VME_IO,devWfComet,"Comet Digitizer") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger Digitizer") +#device(waveform,CONSTANT,devWfTestAsyn,"Test Asyn") +#device(waveform,VME_IO,devWfDvx2502,"DVX-2502") +#device(waveform,VME_IO,devWfPentek4261,"Pentek 4261") +#device(waveform,CAMAC_IO,devWfCamac,"Camac") +#device(waveform,VME_IO,devWfJoergerVtr1,"Joerger-VTR1") +#device(waveform,VME_IO,devWfComet,"Omnibyte-COMET") +#device(eg,VME_IO,devEg,"APS event generator G") +#device(egevent,VME_IO,devEgEvent,"APS event generator E") +#device(er,VME_IO,devEr,"APS event receiver") +#device(erevent,VME_IO,devErevent,"APS event receiver") +#device(wait,CONSTANT,devWaitIoEvent,"Soft Channel") +#device(ai,INST_IO,devAiCan,"CANbus") +#device(ao,INST_IO,devAoCan,"CANbus") +#device(bi,INST_IO,devBiCan,"CANbus") +#device(bo,INST_IO,devBoCan,"CANbus") +#device(mbbi,INST_IO,devMbbiCan,"CANbus") +#device(mbbo,INST_IO,devMbboCan,"CANbus") +#device(mbbiDirect,INST_IO,devMbbiDirectCan,"CANbus") +#device(mbboDirect,INST_IO,devMbboDirectCan,"CANbus") +#device(bi,VME_IO,devBiVmic2534,"Vmic2534") +#device(bo,VME_IO,devBoVmic2534,"Vmic2534") +#device(mbbi,VME_IO,devMbbiVmic2534,"Vmic2534") +#device(mbbo,VME_IO,devMbboVmic2534,"Vmic2534") + +include "symb.dbd" + +#device(ai,AB_IO,devAiAbSlcDcm,"AB-SLC500DCM") +#device(ai,AB_IO,devAiAbSlcDcmSigned,"AB-SLC500DCM-Signed") +#device(ao,AB_IO,devAoAbSlcDcm,"AB-SLC500DCM") +#device(longin,AB_IO,devLiAbSlcDcm,"AB-SLC500DCM") +#device(longout,AB_IO,devLoAbSlcDcm,"AB-SLC500DCM") + +#driver(drvXy010) +#driver(drvVxi) +#driver(drvGpib) +#driver(drvBitBus) +#driver(drvBb910) +#driver(drvXy210) +#driver(drvBb902) +#driver(drvXy220) +#driver(drvXy566) +#driver(drvDvx) +#driver(drvVmi4100) +#driver(drvAb) +#driver(drvAt5Vxi) +#driver(drvCompuSm) +#driver(drvOms) +#driver(drvMz8310) +#driver(drvHpe1368a) +#driver(drvXy240) +#driver(drvKscV215) +#driver(drvComet) +#driver(drvJgvtr1) +#driver(drvFp) +#driver(drvFpm) +#driver(drvIpac) +#driver(drvTip810) +#driver(drvVmi2534) +#include "bptTypeJdegC.dbd" +#include "bptTypeJdegF.dbd" +#include "bptTypeKdegC.dbd" +#include "bptTypeKdegF.dbd" diff --git a/motorExApp/ipServerApp/Makefile b/motorExApp/ipServerApp/Makefile new file mode 100644 index 00000000..0380f4bf --- /dev/null +++ b/motorExApp/ipServerApp/Makefile @@ -0,0 +1,3 @@ +TOP=../.. +include $(TOP)/config/CONFIG_APP +include $(TOP)/config/RULES_ARCHS diff --git a/motorExApp/ipServerApp/Makefile.Vx b/motorExApp/ipServerApp/Makefile.Vx new file mode 100644 index 00000000..e7dfc464 --- /dev/null +++ b/motorExApp/ipServerApp/Makefile.Vx @@ -0,0 +1,27 @@ +# Makefile.Vx +TOP = ../../.. +include $(TOP)/config/CONFIG_APP +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +LIBOBJS += $(MPF_BIN)/mpfLib +LIBOBJS += $(MPF_BIN)/ipLib + +LIBOBJS += $(MPF_SERIAL_BIN)/OctalUART.o +LIBOBJS += $(MPF_SERIAL_BIN)/SerialPort.o +LIBOBJS += $(MPF_SERIAL_BIN)/serialPortSniff.o +LIBOBJS += $(MPF_SERIAL_BIN)/serialServer.o + +LIBOBJS += $(MPF_GPIB_BIN)/Gpib.o +LIBOBJS += $(MPF_GPIB_BIN)/gpibSniff.o +LIBOBJS += $(MPF_GPIB_BIN)/GpibGsTi9914.o +LIBOBJS += $(MPF_GPIB_BIN)/gpibServer.o + +LIBNAME = ipServerLib + +#Note that the command line that builds the +#library $(LIBNAME) may be HUGE (>3kB) +# +include $(TOP)/config/RULES.Vx +#---------------------------------------- +# ADD RULES AFTER THIS LINE