From 9755b10159a2bb2d6aa4ac60cab97e0df786a263 Mon Sep 17 00:00:00 2001 From: Keenan Lang <klang@aps.anl.gov> Date: Fri, 5 Aug 2016 11:46:20 -0500 Subject: [PATCH] Removing extra files --- iocBoot/iocCygwin/AAREADME.txt | 2 - iocBoot/iocCygwin/Makefile | 5 - iocBoot/iocCygwin/areaDetector.cmd | 33 --- iocBoot/iocCygwin/asynRecord.substitutions | 9 - iocBoot/iocCygwin/auto_positions.req | 8 - iocBoot/iocCygwin/auto_settings.req | 50 ----- iocBoot/iocCygwin/fb_epid.substitutions | 16 -- iocBoot/iocCygwin/motor.substitutions | 12 -- iocBoot/iocCygwin/motorSim.cmd | 9 - iocBoot/iocCygwin/motorSim.substitutions | 13 -- iocBoot/iocCygwin/orient_xtals.substitutions | 15 -- iocBoot/iocCygwin/pid_slow.substitutions | 9 - iocBoot/iocCygwin/pseudoMotor.substitutions | 22 -- iocBoot/iocCygwin/run | 1 - iocBoot/iocCygwin/saveData.req | 45 ---- iocBoot/iocCygwin/save_restore.cmd | 69 ------- iocBoot/iocCygwin/scanParms.substitutions | 48 ----- iocBoot/iocCygwin/serial.cmd | 147 ------------- iocBoot/iocCygwin/softMotor.substitutions | 15 -- iocBoot/iocLinux/Makefile | 5 - iocBoot/iocLinux/README | 5 - iocBoot/iocLinux/asynRecord.substitutions | 9 - iocBoot/iocLinux/asynRecord_settings.req | 14 -- iocBoot/iocLinux/auto_positions.req | 2 - iocBoot/iocLinux/auto_settings.req | 2 - iocBoot/iocLinux/autosave/dummy | 1 - iocBoot/iocLinux/calc.cmd | 43 ---- iocBoot/iocLinux/fb_epid.substitutions | 16 -- iocBoot/iocLinux/orient_xtals.substitutions | 15 -- iocBoot/iocLinux/pid_slow.substitutions | 9 - iocBoot/iocLinux/pseudoMotor.substitutions | 25 --- iocBoot/iocLinux/saveData.req | 40 ---- iocBoot/iocLinux/save_restore.cmd | 100 --------- iocBoot/iocLinux/scan1Menu.req | 4 - iocBoot/iocLinux/softGlue.cmd | 204 ------------------- iocBoot/iocLinux/softMotor.substitutions | 15 -- iocBoot/iocvxWorks/Makefile | 6 - iocBoot/iocvxWorks/auto_positions.req | 1 - iocBoot/iocvxWorks/auto_settings.req | 6 - iocBoot/iocvxWorks/autosave/dummy | 1 - iocBoot/iocvxWorks/basic_motor.substitutions | 13 -- iocBoot/iocvxWorks/softGlue.cmd | 199 ------------------ 42 files changed, 1263 deletions(-) delete mode 100644 iocBoot/iocCygwin/AAREADME.txt delete mode 100644 iocBoot/iocCygwin/Makefile delete mode 100644 iocBoot/iocCygwin/areaDetector.cmd delete mode 100644 iocBoot/iocCygwin/asynRecord.substitutions delete mode 100644 iocBoot/iocCygwin/auto_positions.req delete mode 100644 iocBoot/iocCygwin/auto_settings.req delete mode 100644 iocBoot/iocCygwin/fb_epid.substitutions delete mode 100644 iocBoot/iocCygwin/motor.substitutions delete mode 100644 iocBoot/iocCygwin/motorSim.cmd delete mode 100644 iocBoot/iocCygwin/motorSim.substitutions delete mode 100644 iocBoot/iocCygwin/orient_xtals.substitutions delete mode 100755 iocBoot/iocCygwin/pid_slow.substitutions delete mode 100644 iocBoot/iocCygwin/pseudoMotor.substitutions delete mode 100755 iocBoot/iocCygwin/run delete mode 100644 iocBoot/iocCygwin/saveData.req delete mode 100644 iocBoot/iocCygwin/save_restore.cmd delete mode 100644 iocBoot/iocCygwin/scanParms.substitutions delete mode 100644 iocBoot/iocCygwin/serial.cmd delete mode 100644 iocBoot/iocCygwin/softMotor.substitutions delete mode 100644 iocBoot/iocLinux/Makefile delete mode 100644 iocBoot/iocLinux/README delete mode 100644 iocBoot/iocLinux/asynRecord.substitutions delete mode 100644 iocBoot/iocLinux/asynRecord_settings.req delete mode 100644 iocBoot/iocLinux/auto_positions.req delete mode 100644 iocBoot/iocLinux/auto_settings.req delete mode 100644 iocBoot/iocLinux/autosave/dummy delete mode 100644 iocBoot/iocLinux/calc.cmd delete mode 100644 iocBoot/iocLinux/fb_epid.substitutions delete mode 100644 iocBoot/iocLinux/orient_xtals.substitutions delete mode 100755 iocBoot/iocLinux/pid_slow.substitutions delete mode 100644 iocBoot/iocLinux/pseudoMotor.substitutions delete mode 100644 iocBoot/iocLinux/saveData.req delete mode 100644 iocBoot/iocLinux/save_restore.cmd delete mode 100644 iocBoot/iocLinux/scan1Menu.req delete mode 100644 iocBoot/iocLinux/softGlue.cmd delete mode 100644 iocBoot/iocLinux/softMotor.substitutions delete mode 100644 iocBoot/iocvxWorks/Makefile delete mode 100644 iocBoot/iocvxWorks/auto_positions.req delete mode 100644 iocBoot/iocvxWorks/auto_settings.req delete mode 100644 iocBoot/iocvxWorks/autosave/dummy delete mode 100644 iocBoot/iocvxWorks/basic_motor.substitutions delete mode 100644 iocBoot/iocvxWorks/softGlue.cmd diff --git a/iocBoot/iocCygwin/AAREADME.txt b/iocBoot/iocCygwin/AAREADME.txt deleted file mode 100644 index 3e352dc..0000000 --- a/iocBoot/iocCygwin/AAREADME.txt +++ /dev/null @@ -1,2 +0,0 @@ -This directory is out of date, and is included for reference only. It has -not been completely updated for synApps 5.8. diff --git a/iocBoot/iocCygwin/Makefile b/iocBoot/iocCygwin/Makefile deleted file mode 100644 index d8c64f0..0000000 --- a/iocBoot/iocCygwin/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -TOP = ../.. -include $(TOP)/configure/CONFIG -ARCH = cygwin-x86 -TARGETS = envPaths -include $(TOP)/configure/RULES.ioc diff --git a/iocBoot/iocCygwin/areaDetector.cmd b/iocBoot/iocCygwin/areaDetector.cmd deleted file mode 100644 index 92f3bce..0000000 --- a/iocBoot/iocCygwin/areaDetector.cmd +++ /dev/null @@ -1,33 +0,0 @@ -epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 2000100 - -# Create a simDetector driver -simDetectorConfig("SIM1", 640, 480, 1, 50, 50000000) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/ADBase.template", "P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/simDetector.template","P=xxx:,R=SIM1:cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1") - -# Create a second simDetector driver -simDetectorConfig("SIM2", 300, 200, 1, 50, 50000000) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/ADBase.template", "P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/simDetector.template","P=xxx:,R=SIM1:cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1") - -# Create a standard arrays plugin, set it to get data from first simDetector driver. -NDStdArraysConfigure("SIM1Image", 3, 0, "SIM1", 0, 2000000) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=xxx:,R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640") - -# Create a standard arrays plugin, set it to get data from second simDetector driver. -NDStdArraysConfigure("SIM2Image", 1, 0, "SIM2", 0, 2000000) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDStdArrays.template", "P=xxx:,R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640") -# Load the database to use with Stephen Mudie's IDL code -#dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/EPICS_AD_Viewer.template", "P=xxx:, R=image1:") - -# Create a file saving plugin -NDFileNetCDFConfigure("SIM1File", 20, 0, "SIM1", 0) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDFile.template", "P=xxx:,R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1") - -# Create an ROI plugin -NDROIConfigure("SIM1ROI", 20, 0, "SIM1", 0, 8, 20, 20000000) -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDPluginBase.template", "P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(AREA_DETECTOR)/ADApp/Db/NDROI.template", "P=xxx:,R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1") diff --git a/iocBoot/iocCygwin/asynRecord.substitutions b/iocBoot/iocCygwin/asynRecord.substitutions deleted file mode 100644 index 26fb52c..0000000 --- a/iocBoot/iocCygwin/asynRecord.substitutions +++ /dev/null @@ -1,9 +0,0 @@ -file "$(ASYN)/db/asynRecord.db" -{ -pattern -{P R PORT ADDR OMAX IMAX} -{xxx: asyn_1 serial1 0 256 256} -{xxx: asyn_2 serial2 0 256 256} -{xxx: asyn_3 serial3 0 256 256} -{xxx: asyn_4 serial4 0 256 256} -} diff --git a/iocBoot/iocCygwin/auto_positions.req b/iocBoot/iocCygwin/auto_positions.req deleted file mode 100644 index 64e804c..0000000 --- a/iocBoot/iocCygwin/auto_positions.req +++ /dev/null @@ -1,8 +0,0 @@ -$(P)m1.DVAL -$(P)m2.DVAL -$(P)m3.DVAL -$(P)m4.DVAL -$(P)m5.DVAL -$(P)m6.DVAL -$(P)m7.DVAL -$(P)m8.DVAL diff --git a/iocBoot/iocCygwin/auto_settings.req b/iocBoot/iocCygwin/auto_settings.req deleted file mode 100644 index c03cd0c..0000000 --- a/iocBoot/iocCygwin/auto_settings.req +++ /dev/null @@ -1,50 +0,0 @@ -file motor_settings.req P=$(P),M=m1 -file motor_settings.req P=$(P),M=m2 -file motor_settings.req P=$(P),M=m3 -file motor_settings.req P=$(P),M=m4 - -file scanParms_settings.req P=$(P),M=m1 -file scanParms_settings.req P=$(P),M=m2 -file scanParms_settings.req P=$(P),M=m3 -file scanParms_settings.req P=$(P),M=m4 - -#file table_settings.req P=$(P),T=table1,Q=table1 - -file standardScans_settings.req P=$(P) -file saveData_settings.req P=$(P) - -# Kohzu monochromator -##$(P)BraggHAO.VAL -##$(P)BraggKAO.VAL -##$(P)BraggLAO.VAL -##$(P)BraggAAO.VAL -##$(P)BraggTypeMO.VAL -##$(P)KohzuMode2MO.VAL -##$(P)Kohzu_yOffsetAO.VAL - -# Io calc -#file Io_settings.req P=xxx:Io: - -### user calcs. Disabled on startup unless the xxxEnable PV is -### autosaved. -file userCalcs10_settings.req P=$(P) -$(P)userCalcEnable - -file userTransforms10_settings.req P=$(P) -$(P)userTranEnable - -file userStringCalcs10_settings.req P=$(P) -$(P)userStringCalcEnable - -file userArrayCalcs10_settings.req P=$(P) -$(P)userArrayCalcEnable - -file userStringSeqs10_settings.req P=$(P) -$(P)userStringSeqEnable - - -file userAve10_settings.req P=$(P) - - -### PID_based feedback -#file fb_epid.req P=$(P)epid1 diff --git a/iocBoot/iocCygwin/fb_epid.substitutions b/iocBoot/iocCygwin/fb_epid.substitutions deleted file mode 100644 index 3ef3706..0000000 --- a/iocBoot/iocCygwin/fb_epid.substitutions +++ /dev/null @@ -1,16 +0,0 @@ -# $Id$ - -file "$(OPTICS)/opticsApp/Db/fb_epid.db" - { - { - P=xxx:epid1, - IN=xxx:epid1:sim.VAL, - OUT=xxx:epid1:sim.D, - MODE=PID, - CALC=A, - PERMIT1="xxx:epid1:on.VAL", - PERMIT2="", - PERMIT3="", - PERMIT4="" - } - } diff --git a/iocBoot/iocCygwin/motor.substitutions b/iocBoot/iocCygwin/motor.substitutions deleted file mode 100644 index bd3f813..0000000 --- a/iocBoot/iocCygwin/motor.substitutions +++ /dev/null @@ -1,12 +0,0 @@ -file "$(MOTOR)/db/motor.db" -{ -pattern -{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} -{xxx:, 1, "m$(N)", "MM4000", 0, 0, "motor $(N)", degrees, Pos, 10, 0., 1., 0, 1, .2, 1e-3, 3, 100, -100, ""} -{xxx:, 2, "m$(N)", "MM4000", 0, 1, "motor $(N)", degrees, Pos, 60, 0., 1.5, 0, 1, .2, 1e-3, 3, 100, -100, ""} -{xxx:, 3, "m$(N)", "MM4000", 0, 2, "motor $(N)", degrees, Pos, 60, 0., 1., 0, 1, .2, 1e-3, 3, 100, -100, ""} -{xxx:, 4, "m$(N)", "ACS MCB-4B", 0, 0, "motor $(N)", steps, Pos, 1000., 1, .2, 0, 1, .2, 1, 1, 1e6, -1e6, ""} -{xxx:, 5, "m$(N)", "ACS MCB-4B", 0, 1, "motor $(N)", degrees, Pos, 1000., 1, .2, 0, 1, .2, 1, 1, 100, -100, ""} -{xxx:, 6, "m$(N)", "ACS MCB-4B", 0, 2, "motor $(N)", degrees, Pos, 1000., 1, .2, 0, 1, .2, 1, 1, 100, -100, ""} -{xxx:, 7, "m$(N)", "ACS MCB-4B", 0, 3, "motor $(N)", degrees, Pos, 1000., 1, .2, 0, 1, .2, 1, 1, 100, -100, ""} -} diff --git a/iocBoot/iocCygwin/motorSim.cmd b/iocBoot/iocCygwin/motorSim.cmd deleted file mode 100644 index 7eb80a1..0000000 --- a/iocBoot/iocCygwin/motorSim.cmd +++ /dev/null @@ -1,9 +0,0 @@ -# The is the ASYN example for communication to 4 simulated motors -# "#!" marks lines that can be uncommented. - -dbLoadTemplate("motorSim.substitutions") - -# Create simulated motors: ( start card , start axis , low limit, high limit, home posn, # cards, # axes to setup) -motorSimCreate( 0, 0, -32000, 32000, 0, 1, 8 ) -# Setup the Asyn layer (portname, low-level driver drvet name, card, number of axes on card) -drvAsynMotorConfigure("motorSim1", "motorSim", 0, 8) diff --git a/iocBoot/iocCygwin/motorSim.substitutions b/iocBoot/iocCygwin/motorSim.substitutions deleted file mode 100644 index 0087d37..0000000 --- a/iocBoot/iocCygwin/motorSim.substitutions +++ /dev/null @@ -1,13 +0,0 @@ -file "$(MOTOR)/db/asyn_motor.db" -{ -pattern -{P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} -{xxx:, 1, "m$(N)", "asynMotor", motorSim1, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 2, "m$(N)", "asynMotor", motorSim1, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 3, "m$(N)", "asynMotor", motorSim1, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 4, "m$(N)", "asynMotor", motorSim1, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 5, "m$(N)", "asynMotor", motorSim1, 4, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 6, "m$(N)", "asynMotor", motorSim1, 5, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 7, "m$(N)", "asynMotor", motorSim1, 6, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -{xxx:, 8, "m$(N)", "asynMotor", motorSim1, 7, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""} -} diff --git a/iocBoot/iocCygwin/orient_xtals.substitutions b/iocBoot/iocCygwin/orient_xtals.substitutions deleted file mode 100644 index c27a483..0000000 --- a/iocBoot/iocCygwin/orient_xtals.substitutions +++ /dev/null @@ -1,15 +0,0 @@ -file "$(OPTICS)/opticsApp/Db/orient_xtals.db" -{ -pattern -{P, O, PREC, N, xtal, a, b, c, alpha, beta, gamma} -{xxx:, 1, 4, 1, Silicon, 5.431, 5.431, 5.431, 90, 90, 90} -{xxx:, 1, 4, 2, "Beryllium hcp", 2.2858, 2.2858, 3.5843, 90, 90, 120} -{xxx:, 1, 4, 3, VO2, 5.743, 4.517, 5.375, 90, 122.6, 90} -{xxx:, 1, 4, 4, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 5, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 6, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 7, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 8, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 9, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 10, undefined, 1, 1, 1, 90, 90, 90} -} diff --git a/iocBoot/iocCygwin/pid_slow.substitutions b/iocBoot/iocCygwin/pid_slow.substitutions deleted file mode 100755 index 08b309f..0000000 --- a/iocBoot/iocCygwin/pid_slow.substitutions +++ /dev/null @@ -1,9 +0,0 @@ -# This file demonstrates slow feedback. The initial INP and OUT assume the first channel -# of an IP330 ADC connected to the first channel of a DAC128V DAC. -file "$(STD)/stdApp/Db/pid_control.db" -{ -pattern -{P, PID, INP, OUT, LOPR, HOPR, DRVL, DRVH, PREC, KP, KI, KD, SCAN} -{xxx:, pid_slow, xxx:IP330_1, xxx:DAC3_1, 0, 100, 0, 5, 3, 0.2, 3., 0., ".1 second"} -} - diff --git a/iocBoot/iocCygwin/pseudoMotor.substitutions b/iocBoot/iocCygwin/pseudoMotor.substitutions deleted file mode 100644 index 0be0c5a..0000000 --- a/iocBoot/iocCygwin/pseudoMotor.substitutions +++ /dev/null @@ -1,22 +0,0 @@ -# This is a simple example using the sumDiff2D database. This takes 2 real motors and makes 2 soft motors, -# SUM which moves both motors together, and DIFF which moves them in opposite directions. -# It can be used for slits, for K/B mirror benders, etc. - -file "$(MOTOR)/motorApp/Db/pseudoMotor.db" -{ -pattern -{P, M, DINP, OUT, RDBL, STOO, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, RRES, PREC, DHLM, DLLM} -{xxx:, pm1, "xxx:KBV:Done NPP NMS", "xxx:pm1DVAL.VAL PP MS", "xxx:KBV:Readback.G NPP NMS", "xxx:KBV:Stop PP MS", "Vert. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm2, "xxx:KBV:Done NPP NMS", "xxx:pm2DVAL.VAL PP MS", "xxx:KBV:Readback.H NPP NMS", "xxx:KBV:Stop PP MS", "Vert. Ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm3, "xxx:KBH:Done NPP NMS", "xxx:pm3DVAL.VAL PP MS", "xxx:KBH:Readback.G NPP NMS", "xxx:KBH:Stop PP MS", "Hor. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm4, "xxx:KBH:Done NPP NMS", "xxx:pm4DVAL.VAL PP MS", "xxx:KBH:Readback.H NPP NMS", "xxx:KBH:Stop PP MS", "Hor. ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -} - -file "$(MOTOR)/motorApp/Db/sumDiff2D.db" -{ -pattern -{P, T, SUM, DIFF, M1DRV, M1RBV, M2DRV, M2RBV, M1STOP, M1DONE, M2STOP, M2DONE, PREC} -{xxx:, KBV:, pm1, pm2, m1.VAL, m1.RBV, m2.VAL, m2.RBV, m1.STOP, m1.DMOV, m2.STOP, m2.DMOV, 1} -{xxx:, KBH:, pm3, pm4, m3.VAL, m3.RBV, m4.VAL, m4.RBV, m3.STOP, m3.DMOV, m4.STOP, m4.DMOV, 1} -} - diff --git a/iocBoot/iocCygwin/run b/iocBoot/iocCygwin/run deleted file mode 100755 index 04a1651..0000000 --- a/iocBoot/iocCygwin/run +++ /dev/null @@ -1 +0,0 @@ -../../bin/cygwin-x86/xxx.exe st.cmd diff --git a/iocBoot/iocCygwin/saveData.req b/iocBoot/iocCygwin/saveData.req deleted file mode 100644 index f853ae0..0000000 --- a/iocBoot/iocCygwin/saveData.req +++ /dev/null @@ -1,45 +0,0 @@ -[prefix] -$(P) - -[status] -$(P)saveData_status - -[message] -$(P)saveData_message - -[filename] -$(P)saveData_fileName - -[counter] # scan counter -$(P)saveData_scanNumber - -[fileSystem] # scan file system -$(P)saveData_fileSystem - -[subdir] # scan file subdirectory -$(P)saveData_subDir - -[basename] # scan file base name -$(P)saveData_baseName - -[fullPathName] -$(P)saveData_fullPathName - -[realTime1D] # if nonzero, write 1D data as it comes in -$(P)saveData_realTime1D - -[scanRecord] # specify scan records to be monitored -$(P)scanH -$(P)scan1 -$(P)scan2 -$(P)scan3 -$(P)scan4 - -[extraPV] - -$(P)userCalc1.CALC "string" -$(P)saveData_realTime1D "enum" -$(P)saveData_scanNumber "long" -$(P)saveData_comment1 -$(P)saveData_comment2 -$(P)saveData_fileSystem "filesystem" diff --git a/iocBoot/iocCygwin/save_restore.cmd b/iocBoot/iocCygwin/save_restore.cmd deleted file mode 100644 index ec435e1..0000000 --- a/iocBoot/iocCygwin/save_restore.cmd +++ /dev/null @@ -1,69 +0,0 @@ - -# BEGIN save_restore.cmd ------------------------------------------------------ - -### save_restore setup -# -# This file does not require modification for standard use, but... - -# status PVs -#save_restoreSet_UseStatusPVs(1) -save_restoreSet_status_prefix("xxx:") -dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=xxx:, DEAD_SECONDS=5") - -# Ok to save/restore save sets with missing values (no CA connection to PV)? -save_restoreSet_IncompleteSetsOk(1) - -# Save dated backup files? -save_restoreSet_DatedBackupFiles(1) - -# Number of sequenced backup files to write -save_restoreSet_NumSeqFiles(3) - -# Time interval between sequenced backups -save_restoreSet_SeqPeriodInSeconds(300) - -# specify where save files should be -set_savefile_path("$(TOP)/iocBoot/$(IOC)", "autosave") - -### -# specify what save files should be restored. Note these files must be -# in the directory specified in set_savefile_path(), or, if that function -# has not been called, from the directory current when iocInit is invoked -set_pass0_restoreFile("auto_positions.sav") -set_pass0_restoreFile("auto_settings.sav") -set_pass1_restoreFile("auto_settings.sav") - -# Note that you can restore a .sav file without also autosaving to it. -#set_pass0_restoreFile("myInitData.sav") -#set_pass1_restoreFile("myInitData.sav") - -### -# specify directories in which to to search for included request files -set_requestfile_path("$(STARTUP)", "") -set_requestfile_path("$(STARTUP)", "autosave") -set_requestfile_path("$(AREA_DETECTOR)", "ADApp/Db") -set_requestfile_path("$(AUTOSAVE)", "asApp/Db") -set_requestfile_path("$(CALC)", "calcApp/Db") -#set_requestfile_path("$(CAMAC)", "camacApp/Db") -set_requestfile_path("$(DAC128V)", "dac128VApp/Db") -set_requestfile_path("$(DELAYGEN)", "delaygenApp/Db") -set_requestfile_path("$(DXP)", "dxpApp/Db") -set_requestfile_path("$(IP)", "ipApp/Db") -set_requestfile_path("$(IP330)", "ip330App/Db") -set_requestfile_path("$(IPUNIDIG)", "ipUnidigApp/Db") -#set_requestfile_path("$(LOVE)", "loveApp/Db") -set_requestfile_path("$(MCA)", "mcaApp/Db") -#set_requestfile_path("$(MODBUS)", "modbusApp/Db") -set_requestfile_path("$(MOTOR)", "motorApp/Db") -set_requestfile_path("$(OPTICS)", "opticsApp/Db") -set_requestfile_path("$(QUADEM)", "quadEMApp/Db") -set_requestfile_path("$(SSCAN)", "sscanApp/Db") -set_requestfile_path("$(STD)", "stdApp/Db") -#set_requestfile_path("$(VAC)", "vacApp/Db") -set_requestfile_path("$(VME)", "vmeApp/Db") -set_requestfile_path("$(TOP)", "xxxApp/Db") - -# Debug-output level -save_restoreSet_Debug(0) - -# END save_restore.cmd -------------------------------------------------------- diff --git a/iocBoot/iocCygwin/scanParms.substitutions b/iocBoot/iocCygwin/scanParms.substitutions deleted file mode 100644 index f4241ec..0000000 --- a/iocBoot/iocCygwin/scanParms.substitutions +++ /dev/null @@ -1,48 +0,0 @@ -# Note beginning with 3.13.9, macro args that contain macro args must be -# in quotes" -file "$(SSCAN)/sscanApp/Db/scanParms.db" -{ -{P=xxx:,SCANREC=xxx:scan1,Q=m1,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m2,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m3,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m4,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m5,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m6,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m7,POS="$(Q).VAL",RDBK="$(Q).RBV"} -{P=xxx:,SCANREC=xxx:scan1,Q=m8,POS="$(Q).VAL",RDBK="$(Q).RBV"} - -{P=xxx:,SCANREC=xxx:scan1,Q=Table1X,POS=table1.X,RDBK=table1.XRB} -{P=xxx:,SCANREC=xxx:scan1,Q=Table1Y,POS=table1.Y,RDBK=table1.YRB} -{P=xxx:,SCANREC=xxx:scan1,Q=Table1Z,POS=table1.Z,RDBK=table1.ZRB} -{P=xxx:,SCANREC=xxx:scan1,Q=Table1AX,POS=table1.AX,RDBK=table1.AXRB} -{P=xxx:,SCANREC=xxx:scan1,Q=Table1AY,POS=table1.AY,RDBK=table1.AYRB} -{P=xxx:,SCANREC=xxx:scan1,Q=Table1AZ,POS=table1.AZ,RDBK=table1.AZRB} - -#{P=xxx:,SCANREC=xxx:scan1,Q=BraggE,POS=BraggEAO.VAL,RDBK=BraggERdbkAO.VAL} -#{P=xxx:,SCANREC=xxx:scan1,Q=BraggLambda,POS=BraggLambdaAO.VAL,RDBK=BraggLambdaRdbkAO.VAL} -#{P=xxx:,SCANREC=xxx:scan1,Q=BraggTheta,POS=BraggThetaAO.VAL,RDBK=BraggThetaRdbkAO.VAL} - -#{P=xxx:,SCANREC=xxx:scan1,Q=HR1_E,POS=HR1_EAO.VAL,RDBK=HR1_ERdbkAO} -#{P=xxx:,SCANREC=xxx:scan1,Q=HR1_A,POS=HR1_worldOffAO.VAL,RDBK=HR1_worldOffAO.VAL} - -# old slit -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Hp,POS=Slit1Hxp.VAL,RDBK=Slit1Ht2.A} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Hn,POS=Slit1Hxn.VAL,RDBK=Slit1Ht2.B} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Hsize,POS=Slit1Hsize.VAL,RDBK=Slit1Ht2.C} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Hcenter,POS=Slit1Hcenter.VAL,RDBK=Slit1Ht2.D} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Vp,POS=Slit1Vxp.VAL,RDBK=Slit1Vt2.A} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Vn,POS=Slit1Vxn.VAL,RDBK=Slit1Vt2.B} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Vsize,POS=Slit1Vsize.VAL,RDBK=Slit1Vt2.C} -{P=xxx:,SCANREC=xxx:scan1,Q=Slit1Vcenter,POS=Slit1Vcenter.VAL,RDBK=Slit1Vt2.D} - -# new soft-motor-based slit -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Hxn,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Hxp,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Hsize,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Hcenter,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Vxn,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Vxp,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Vsize,POS="$(Q).VAL",RDBK="$(Q).RBV"} -#{P=xxx:,SCANREC=xxx:scan1,Q=Slit2Vcenter,POS="$(Q).VAL",RDBK="$(Q).RBV"} - -} diff --git a/iocBoot/iocCygwin/serial.cmd b/iocBoot/iocCygwin/serial.cmd deleted file mode 100644 index 91ede39..0000000 --- a/iocBoot/iocCygwin/serial.cmd +++ /dev/null @@ -1,147 +0,0 @@ - -# BEGIN serial.cmd ------------------------------------------------------------ - -# Set up 2 local serial ports - -# serial 1 connected to Keithley2K DMM at 19200 baud -#drvAsynSerialPortConfigure("portName","ttyName",priority,noAutoConnect, -# noProcessEos) -drvAsynSerialPortConfigure("serial1", "/dev/ttyS0", 0, 0, 0) -asynSetOption(serial1,0,baud,19200) -asynSetOption(serial1,0,parity,none) -#asynOctetSetInputEos(const char *portName, int addr, -# const char *eosin,const char *drvInfo) -asynOctetSetInputEos("serial1",0,"\r\n") -# asynOctetSetOutputEos(const char *portName, int addr, -# const char *eosin,const char *drvInfo) -asynOctetSetOutputEos("serial1",0,"\r") -# Make port available from the iocsh command line -#asynOctetConnect(const char *entry, const char *port, int addr, -# int timeout, int buffer_len, const char *drvInfo) -asynOctetConnect("serial1", "serial1") - -# serial 2 connected to Newport MM4000 at 38400 baud -drvAsynSerialPortConfigure("serial2", "/dev/ttyS1", 0, 0, 0) -asynSetOption(serial2,0,baud,38400) -asynSetOption(serial2,0,parity,none) -asynOctetConnect("serial2", "serial2") -asynOctetSetInputEos("serial2",0,"\r") -asynOctetSetOutputEos("serial2",0,"\r") - -# Set up ports 1 and 2 on Moxa box - -# serial 3 is connected to the ACS MCB-4B at 9600 baud -#drvAsynIPPortConfigure("portName","hostInfo",priority,noAutoConnect, -# noProcessEos) -drvAsynIPPortConfigure("serial3", "164.54.160.50:4001", 0, 0, 0) -asynOctetConnect("serial3", "serial3") -asynOctetSetInputEos("serial3",0,"\r") -# For Digitel need to use null input terminator -#asynOctetSetInputEos("serial3",0,"") -asynOctetSetOutputEos("serial3",0,"\r") - -# serial 4 not connected for now -drvAsynIPPortConfigure("serial4", "164.54.160.50:4002", 0, 0, 0) -asynOctetConnect("serial4", "serial4") -asynOctetSetInputEos("serial4",0,"\r") -asynOctetSetOutputEos("serial4",0,"\r") - -# Newport MM4000 driver setup parameters: -# (1) maximum # of controllers, -# (2) motor task polling rate (min=1Hz, max=60Hz) -MM4000Setup(1, 10) - -# Newport MM4000 driver configuration parameters: -# (1) controller -# (2) asyn port name (e.g. serial1 or gpib1) -# (3) GPIB address (0 for serial) -MM4000Config(0, "serial2", 0) - -# Newport PM500 driver setup parameters: -# (1) maximum number of controllers in system -# (2) motor task polling rate (min=1Hz,max=60Hz) -#PM500Setup(1, 10) - -# Newport PM500 configuration parameters: -# (1) controller -# (2) asyn port name (e.g. serial1 or gpib1) -#PM500Config(0, "serial3") - -# McClennan PM304 driver setup parameters: -# (1) maximum number of controllers in system -# (2) motor task polling rate (min=1Hz, max=60Hz) -#PM304Setup(1, 10) - -# McClennan PM304 driver configuration parameters: -# (1) controller being configured -# (2) MPF serial server name (string) -# (3) Number of axes on this controller -#PM304Config(0, "serial4", 1) - -# ACS MCB-4B driver setup parameters: -# (1) maximum number of controllers in system -# (2) motor task polling rate (min=1Hz, max=60Hz) -MCB4BSetup(1, 10) - -# ACS MCB-4B driver configuration parameters: -# (1) controller being configured -# (2) asyn port name (string) -MCB4BConfig(0, "serial3") - -# Load asynRecord records on all ports -dbLoadTemplate("asynRecord.substitutions") - -# send impromptu message to serial device, parse reply -# (was serial_OI_block) -dbLoadRecords("$(IP)/ipApp/Db/deviceCmdReply.db","P=xxx:,N=1,PORT=serial1,ADDR=0,OMAX=100,IMAX=100") -dbLoadRecords("$(IP)/ipApp/Db/deviceCmdReply.db","P=xxx:,N=2,PORT=serial2,ADDR=0,OMAX=100,IMAX=100") -dbLoadRecords("$(IP)/ipApp/Db/deviceCmdReply.db","P=xxx:,N=3,PORT=serial3,ADDR=0,OMAX=100,IMAX=100") - -# Stanford Research Systems SR570 Current Preamplifier -#dbLoadRecords("$(IP)/ipApp/Db/SR570.db", "P=xxx:,A=A1,PORT=serial1") - -# Lakeshore DRC-93CA Temperature Controller -#dbLoadRecords("$(IP)/ipApp/Db/LakeShoreDRC-93CA.db", "P=xxx:,Q=TC1,PORT=serial4") - -# Huber DMC9200 DC Motor Controller -#dbLoadRecords("$(IP)/ipApp/Db/HuberDMC9200.db", "P=xxx:,Q=DMC1:,PORT=serial5") - -# Oriel 18011 Encoder Mike -#dbLoadRecords("$(IP)/ipApp/Db/eMike.db", "P=xxx:,M=em1,PORT=serial3") - -# Keithley 2000 DMM -dbLoadRecords("$(IP)/ipApp/Db/Keithley2kDMM_mf.db","P=xxx:,Dmm=D1,PORT=serial1") - -# Oxford Cyberstar X1000 Scintillation detector and pulse processing unit -#dbLoadRecords("$(IP)/ipApp/Db/Oxford_X1k.db","P=xxx:,S=s1,PORT=serial4") - -# Oxford ILM202 Cryogen Level Meter (Serial) -#dbLoadRecords("$(IP)/ipApp/Db/Oxford_ILM202.db","P=xxx:,S=s1,PORT=serial5") - -# Elcomat autocollimator -#dbLoadRecords("$(IP)/ipApp/Db/Elcomat.db", "P=xxx:,PORT=serial8") - -# Eurotherm temp controller -#dbLoadRecords("$(IP)/ipApp/Db/Eurotherm.db","P=xxx:,PORT=serial7") - -# MKS vacuum gauges -#dbLoadRecords("$(IP)/ipApp/Db/MKS.db","P=xxx:,PORT=serial2,CC1=cc1,CC2=cc3,PR1=pr1,PR2=pr3") - -# PI Digitel 500/1500 pump -#dbLoadRecords("$(IP)/ipApp/Db/Digitel.db","xxx:,PUMP=ip1,PORT=serial3") - -# PI MPC ion pump -#dbLoadRecords("$(IP)/ipApp/Db/MPC.db","P=xxx:,PUMP=ip2,PORT=serial4,PA=0,PN=1") - -# PI MPC TSP (titanium sublimation pump) -#dbLoadRecords("$(IP)/ipApp/Db/TSP.db","P=xxx:,TSP=tsp1,PORT=serial4,PA=0") - -# Heidenhain ND261 encoder (for PSL monochromator) -#dbLoadRecords("$(IP)/ipApp/Db/heidND261.db", "P=xxx:,PORT=serial1") - -# Love Controllers -#devLoveDebug=1 -#loveServerDebug=1 -#dbLoadRecords("$(IP)/ipApp/Db/love.db", "P=xxx:,Q=Love_0,C=0,PORT=PORT2,ADDR=1") - -# END serial.cmd -------------------------------------------------------------- diff --git a/iocBoot/iocCygwin/softMotor.substitutions b/iocBoot/iocCygwin/softMotor.substitutions deleted file mode 100644 index 988001d..0000000 --- a/iocBoot/iocCygwin/softMotor.substitutions +++ /dev/null @@ -1,15 +0,0 @@ -file "$(STD)/stdApp/Db/softMotor.db" -{ -pattern -{P, SM} -{xxx:, SM1} -{xxx:, SM2} -{xxx:, SM3} -{xxx:, SM4} -{xxx:, SM5} -{xxx:, SM6} -{xxx:, SM7} -{xxx:, SM8} -{xxx:, SM9} -{xxx:, SM10} -} diff --git a/iocBoot/iocLinux/Makefile b/iocBoot/iocLinux/Makefile deleted file mode 100644 index 79c4ce6..0000000 --- a/iocBoot/iocLinux/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -TOP = ../.. -include $(TOP)/configure/CONFIG -ARCH = linux-x86_64 -TARGETS = envPaths -include $(TOP)/configure/RULES.ioc diff --git a/iocBoot/iocLinux/README b/iocBoot/iocLinux/README deleted file mode 100644 index 1060b5e..0000000 --- a/iocBoot/iocLinux/README +++ /dev/null @@ -1,5 +0,0 @@ -Assuming the EPICS_HOST_ARCH environment variable is set correctly, -start the ioc from this directory by executing the following command. - -../../bin/${EPICS_HOST_ARCH}/xxx st.cmd - diff --git a/iocBoot/iocLinux/asynRecord.substitutions b/iocBoot/iocLinux/asynRecord.substitutions deleted file mode 100644 index 26fb52c..0000000 --- a/iocBoot/iocLinux/asynRecord.substitutions +++ /dev/null @@ -1,9 +0,0 @@ -file "$(ASYN)/db/asynRecord.db" -{ -pattern -{P R PORT ADDR OMAX IMAX} -{xxx: asyn_1 serial1 0 256 256} -{xxx: asyn_2 serial2 0 256 256} -{xxx: asyn_3 serial3 0 256 256} -{xxx: asyn_4 serial4 0 256 256} -} diff --git a/iocBoot/iocLinux/asynRecord_settings.req b/iocBoot/iocLinux/asynRecord_settings.req deleted file mode 100644 index 88b72ce..0000000 --- a/iocBoot/iocLinux/asynRecord_settings.req +++ /dev/null @@ -1,14 +0,0 @@ -$(P)$(R).SCAN -$(P)$(R).TMOD -$(P)$(R).OEOS -$(P)$(R).IEOS -$(P)$(R).OFMT -$(P)$(R).IFMT -$(P)$(R).TMOT -$(P)$(R).NRRD -$(P)$(R).BAUD -$(P)$(R).DBIT -$(P)$(R).SBIT -$(P)$(R).PRTY -$(P)$(R).MCTL -$(P)$(R).FCTL diff --git a/iocBoot/iocLinux/auto_positions.req b/iocBoot/iocLinux/auto_positions.req deleted file mode 100644 index d49f78f..0000000 --- a/iocBoot/iocLinux/auto_positions.req +++ /dev/null @@ -1,2 +0,0 @@ - -file built_positions.req P=$(P) diff --git a/iocBoot/iocLinux/auto_settings.req b/iocBoot/iocLinux/auto_settings.req deleted file mode 100644 index e1c4e66..0000000 --- a/iocBoot/iocLinux/auto_settings.req +++ /dev/null @@ -1,2 +0,0 @@ - -file built_settings.req P=$(P) diff --git a/iocBoot/iocLinux/autosave/dummy b/iocBoot/iocLinux/autosave/dummy deleted file mode 100644 index 9f1115d..0000000 --- a/iocBoot/iocLinux/autosave/dummy +++ /dev/null @@ -1 +0,0 @@ -git won't make an empty directory, but we need this directory to exist diff --git a/iocBoot/iocLinux/calc.cmd b/iocBoot/iocLinux/calc.cmd deleted file mode 100644 index 4fa0f1a..0000000 --- a/iocBoot/iocLinux/calc.cmd +++ /dev/null @@ -1,43 +0,0 @@ -### Stuff for user programming ### -dbLoadRecords("$(CALC)/calcApp/Db/userCalcGlobalEnable.db","P=xxx:") - -dbLoadRecords("$(CALC)/calcApp/Db/userCalcs10.db","P=xxx:") -appendToFile("$(BUILT_SETTINGS)", '$(P)userCalcEnable') - -dbLoadRecords("$(CALC)/calcApp/Db/userCalcOuts10.db","P=xxx:") -appendToFile("$(BUILT_SETTINGS)", '$(P)userCalcOutEnable') - -dbLoadRecords("$(CALC)/calcApp/Db/userCalcOuts10more.db","P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20") - -dbLoadRecords("$(CALC)/calcApp/Db/userStringCalcs10.db","P=xxx:") -appendToFile("$(BUILT_SETTINGS)", '$(P)userStringCalcEnable') - -dbLoadRecords("$(CALC)/calcApp/Db/userArrayCalcs10.db","P=xxx:,N=8000") -appendToFile("$(BUILT_SETTINGS)", '$(P)userArrayCalcEnable') - -dbLoadRecords("$(CALC)/calcApp/Db/userTransforms10.db","P=xxx:") -appendToFile("$(BUILT_SETTINGS)", '$(P)userTranEnable') - -dbLoadRecords("$(CALC)/calcApp/Db/userAve10.db","P=xxx:") - -# string sequence (sseq) records -dbLoadRecords("$(CALC)/calcApp/Db/userStringSeqs10.db","P=xxx:") -appendToFile("$(BUILT_SETTINGS)", '$(P)userStringSeqEnable') - -# editSseq - edit any sseq or seq record -dbLoadRecords("$(CALC)/calcApp/Db/editSseq.db", "P=xxx:,Q=ES:") -doAfterIocInit("seq &editSseq, 'P=xxx:,Q=ES:'") - -# interpolation -dbLoadRecords("$(CALC)/calcApp/Db/interp.db", "P=xxx:,N=2000") -dbLoadRecords("$(CALC)/calcApp/Db/interpNew.db", "P=xxx:,Q=1,N=2000") - -# pvHistory (in-crate archive of up to three PV's) -dbLoadRecords("$(STD)/stdApp/Db/pvHistory.db","P=xxx:,N=1,MAXSAMPLES=1440") - -# busy record -dbLoadRecords("$(BUSY)/busyApp/Db/busyRecord.db", "P=xxx:,R=mybusy") -dbLoadRecords("$(BUSY)/busyApp/Db/busyRecord.db", "P=xxx:,R=mybusy2") - -# Soft function generator -#dbLoadRecords("$(CALC)/calcApp/Db/FuncGen.db","P=xxx:,Q=fgen,OUT=xxx:m7.VAL") diff --git a/iocBoot/iocLinux/fb_epid.substitutions b/iocBoot/iocLinux/fb_epid.substitutions deleted file mode 100644 index 3ef3706..0000000 --- a/iocBoot/iocLinux/fb_epid.substitutions +++ /dev/null @@ -1,16 +0,0 @@ -# $Id$ - -file "$(OPTICS)/opticsApp/Db/fb_epid.db" - { - { - P=xxx:epid1, - IN=xxx:epid1:sim.VAL, - OUT=xxx:epid1:sim.D, - MODE=PID, - CALC=A, - PERMIT1="xxx:epid1:on.VAL", - PERMIT2="", - PERMIT3="", - PERMIT4="" - } - } diff --git a/iocBoot/iocLinux/orient_xtals.substitutions b/iocBoot/iocLinux/orient_xtals.substitutions deleted file mode 100644 index c27a483..0000000 --- a/iocBoot/iocLinux/orient_xtals.substitutions +++ /dev/null @@ -1,15 +0,0 @@ -file "$(OPTICS)/opticsApp/Db/orient_xtals.db" -{ -pattern -{P, O, PREC, N, xtal, a, b, c, alpha, beta, gamma} -{xxx:, 1, 4, 1, Silicon, 5.431, 5.431, 5.431, 90, 90, 90} -{xxx:, 1, 4, 2, "Beryllium hcp", 2.2858, 2.2858, 3.5843, 90, 90, 120} -{xxx:, 1, 4, 3, VO2, 5.743, 4.517, 5.375, 90, 122.6, 90} -{xxx:, 1, 4, 4, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 5, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 6, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 7, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 8, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 9, undefined, 1, 1, 1, 90, 90, 90} -{xxx:, 1, 4, 10, undefined, 1, 1, 1, 90, 90, 90} -} diff --git a/iocBoot/iocLinux/pid_slow.substitutions b/iocBoot/iocLinux/pid_slow.substitutions deleted file mode 100755 index 08b309f..0000000 --- a/iocBoot/iocLinux/pid_slow.substitutions +++ /dev/null @@ -1,9 +0,0 @@ -# This file demonstrates slow feedback. The initial INP and OUT assume the first channel -# of an IP330 ADC connected to the first channel of a DAC128V DAC. -file "$(STD)/stdApp/Db/pid_control.db" -{ -pattern -{P, PID, INP, OUT, LOPR, HOPR, DRVL, DRVH, PREC, KP, KI, KD, SCAN} -{xxx:, pid_slow, xxx:IP330_1, xxx:DAC3_1, 0, 100, 0, 5, 3, 0.2, 3., 0., ".1 second"} -} - diff --git a/iocBoot/iocLinux/pseudoMotor.substitutions b/iocBoot/iocLinux/pseudoMotor.substitutions deleted file mode 100644 index 163c331..0000000 --- a/iocBoot/iocLinux/pseudoMotor.substitutions +++ /dev/null @@ -1,25 +0,0 @@ -# Pseudo-motors -# Note: This databases will be in the next release of motor, not in xxxApp - -# This is a simple example using the sumDiff2D database. This takes 2 real motors and makes 2 soft motors, -# SUM which moves both motors together, and DIFF which moves them in opposite directions. -# It can be used for slits, for K/B mirror benders, etc. - -file "$(MOTOR)/motorApp/Db/pseudoMotor.db" -{ -pattern -{P, M, DINP, OUT, RDBL, STOO, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, RRES, PREC, DHLM, DLLM} -{xxx:, pm1, "xxx:KBV:Done NPP NMS", "xxx:pm1DVAL.VAL PP MS", "xxx:KBV:Readback.G NPP NMS", "xxx:KBV:Stop PP MS", "Vert. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm2, "xxx:KBV:Done NPP NMS", "xxx:pm2DVAL.VAL PP MS", "xxx:KBV:Readback.H NPP NMS", "xxx:KBV:Stop PP MS", "Vert. Ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm3, "xxx:KBH:Done NPP NMS", "xxx:pm3DVAL.VAL PP MS", "xxx:KBH:Readback.G NPP NMS", "xxx:KBH:Stop PP MS", "Hor. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -{xxx:, pm4, "xxx:KBH:Done NPP NMS", "xxx:pm4DVAL.VAL PP MS", "xxx:KBH:Readback.H NPP NMS", "xxx:KBH:Stop PP MS", "Hor. ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} -} - -file "$(MOTOR)/motorApp/Db/sumDiff2D.db" -{ -pattern -{P, T, SUM, DIFF, M1DRV, M1RBV, M2DRV, M2RBV, M1STOP, M1DONE, M2STOP, M2DONE, PREC} -{xxx:, KBV:, pm1, pm2, m1.VAL, m1.RBV, m2.VAL, m2.RBV, m1.STOP, m1.DMOV, m2.STOP, m2.DMOV, 1} -{xxx:, KBH:, pm3, pm4, m3.VAL, m3.RBV, m4.VAL, m4.RBV, m3.STOP, m3.DMOV, m4.STOP, m4.DMOV, 1} -} - diff --git a/iocBoot/iocLinux/saveData.req b/iocBoot/iocLinux/saveData.req deleted file mode 100644 index eb2301d..0000000 --- a/iocBoot/iocLinux/saveData.req +++ /dev/null @@ -1,40 +0,0 @@ -[prefix] -$(P) - -[status] -$(P)saveData_status - -[message] -$(P)saveData_message - -[filename] -$(P)saveData_fileName - -[counter] # scan counter -$(P)saveData_scanNumber - -[fileSystem] # scan file system -$(P)saveData_fileSystem - -[subdir] # scan file subdirectory -$(P)saveData_subDir - -[basename] # PV containing the desired data-file base name -$(P)saveData_baseName - -[fullPathName] -$(P)saveData_fullPathName - -[realTime1D] # if nonzero, write 1D data as it comes in -$(P)saveData_realTime1D - -[scanRecord] # specify scan records to be monitored -$(P)scanH -$(P)scan1 -$(P)scan2 -$(P)scan3 -$(P)scan4 - -[extraPV] -$(P)saveData_comment1 -$(P)saveData_comment2 diff --git a/iocBoot/iocLinux/save_restore.cmd b/iocBoot/iocLinux/save_restore.cmd deleted file mode 100644 index bd45f3e..0000000 --- a/iocBoot/iocLinux/save_restore.cmd +++ /dev/null @@ -1,100 +0,0 @@ - -# BEGIN save_restore.cmd ------------------------------------------------------ - -### save_restore setup - -# status PVs -#save_restoreSet_UseStatusPVs(1) -save_restoreSet_status_prefix("xxx:") -dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=xxx:, DEAD_SECONDS=5") - -# Ok to save/restore save sets with missing values (no CA connection to PV)? -save_restoreSet_IncompleteSetsOk(1) - -# Save dated backup files? -save_restoreSet_DatedBackupFiles(1) - -# Number of sequenced backup files to write -save_restoreSet_NumSeqFiles(3) - -# Time interval between sequenced backups -save_restoreSet_SeqPeriodInSeconds(300) - -# Ok to retry connecting to PVs whose initial connection attempt failed? -save_restoreSet_CAReconnect(1) - -# Time interval in seconds between forced save-file writes. (-1 means forever). -# This is intended to get save files written even if the normal trigger mechanism is broken. -save_restoreSet_CallbackTimeout(-1) - -# specify where save files should be -set_savefile_path("$(TOP)/iocBoot/$(IOC)", "autosave") - -### -# specify what save files should be restored. Note these files must be -# in the directory specified in set_savefile_path(), or, if that function -# has not been called, from the directory current when iocInit is invoked - -set_pass0_restoreFile("auto_positions.sav", "P=xxx:") -# Save positions every five seconds -doAfterIocInit("create_monitor_set('auto_positions.req',5,'P=xxx:')") - -set_pass0_restoreFile("auto_settings.sav", "P=xxx:") -set_pass1_restoreFile("auto_settings.sav", "P=xxx:") -# save settings every thirty seconds -doAfterIocInit("create_monitor_set('auto_settings.req',30,'P=xxx:')") - -# Note that you can reload these sets after creating them: e.g., -# reload_monitor_set("auto_settings.req",30,"P=xxx:") - -# Note that you can restore a .sav file without also autosaving to it. -#set_pass0_restoreFile("myInitData.sav") -#set_pass1_restoreFile("myInitData.sav") - -# Also, you can restore a .sav file that contains macros. (autosave R5-4-2) -#set_pass0_restoreFile("myGenericData.sav", "P=xxx:") -#set_pass1_restoreFile("myGenericData.sav", "P=xxx:") - -### -# specify directories in which to to search for included request files -set_requestfile_path("$(TOP)/iocBoot/$(IOC)", "") -set_requestfile_path("$(TOP)/iocBoot/$(IOC)", "autosave") -set_requestfile_path("$(AREA_DETECTOR)", "ADApp/Db") -set_requestfile_path("$(ADCORE)", "ADApp/Db") -set_requestfile_path("$(AUTOSAVE)", "asApp/Db") -set_requestfile_path("$(BUSY)", "busyApp/Db") -set_requestfile_path("$(CALC)", "calcApp/Db") -set_requestfile_path("$(CAMAC)", "camacApp/Db") -set_requestfile_path("$(CAPUTRECORDER)", "caputRecorderApp/Db") -set_requestfile_path("$(DAC128V)", "dac128VApp/Db") -set_requestfile_path("$(DELAYGEN)", "delaygenApp/Db") -set_requestfile_path("$(DXP)", "dxpApp/Db") -set_requestfile_path("$(IP)", "ipApp/Db") -set_requestfile_path("$(IP330)", "ip330App/Db") -set_requestfile_path("$(IPUNIDIG)", "ipUnidigApp/Db") -set_requestfile_path("$(LOVE)", "loveApp/Db") -set_requestfile_path("$(MCA)", "mcaApp/Db") -set_requestfile_path("$(MEASCOMP)", "measCompApp/Db") -set_requestfile_path("$(MODBUS)", "modbusApp/Db") -set_requestfile_path("$(MOTOR)", "motorApp/Db") -set_requestfile_path("$(OPTICS)", "opticsApp/Db") -set_requestfile_path("$(QUADEM)", "quadEMApp/Db") -set_requestfile_path("$(SSCAN)", "sscanApp/Db") -set_requestfile_path("$(SOFTGLUE)", "softGlueApp/Db") -set_requestfile_path("$(STD)", "stdApp/Db") -set_requestfile_path("$(VAC)", "vacApp/Db") -set_requestfile_path("$(VME)", "vmeApp/Db") -set_requestfile_path("$(TOP)", "xxxApp/Db") - -# Debug-output level -save_restoreSet_Debug(0) - -# Tell autosave to automatically build built_settings.req and -# built_positions.req from databases and macros supplied to dbLoadRecords() -# (and dbLoadTemplate(), which calls dbLoadRecords()). -epicsEnvSet("BUILT_SETTINGS", "built_settings.req") -epicsEnvSet("BUILT_POSITIONS", "built_positions.req") -autosaveBuild("$(BUILT_SETTINGS)", "_settings.req", 1) -autosaveBuild("$(BUILT_POSITIONS)", "_positions.req", 1) - -# END save_restore.cmd -------------------------------------------------------- diff --git a/iocBoot/iocLinux/scan1Menu.req b/iocBoot/iocLinux/scan1Menu.req deleted file mode 100644 index f20d703..0000000 --- a/iocBoot/iocLinux/scan1Menu.req +++ /dev/null @@ -1,4 +0,0 @@ -file configMenu.req P=$(P),CONFIG=$(CONFIG) -file scan_settings.req P=$(P),S=scan2 -file scan_settings.req P=$(P),S=scan1 -file scan_settings.req P=$(P),S=scanH diff --git a/iocBoot/iocLinux/softGlue.cmd b/iocBoot/iocLinux/softGlue.cmd deleted file mode 100644 index 1f2e4ba..0000000 --- a/iocBoot/iocLinux/softGlue.cmd +++ /dev/null @@ -1,204 +0,0 @@ -# BEGIN softGlue.cmd ---------------------------------------------------------- -# This must run after industryPack.cmd - -#devAsynSoftGlueDebug=1 -#drvIP_EP201Debug=1 - -################################################################################ -# Initialize the FPGA -#----------------------- -# Write content to the FPGA. This command will fail if the FPGA already -# has content loaded, as it will after a soft reboot. To load new FPGA -# content, you must power cycle the ioc. -# -# initIP_EP200_FPGA(ushort carrier, ushort slot, char *filename) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# filename: Name of the FPGA-content hex file to load into the FPGA. -# - -# standard softGlue 2.2 -#initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2.hex") -# standard softGlue 2.2 plus two shift registers -#initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2_Octupole_0_0.hex") -# standard softGlue 2.2 plus two up/down counters -#initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2_1ID_Vgate_0_1.hex") -# standard softGlue 2.2 plus two up/down counters plus two quadrature decoders -initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2_Encoder.hex") - -################################################################################ -# Initialize basic field I/O -#------------------------------ -# int initIP_EP200(ushort carrier, ushort slot, char *portName1, -# char *portName2, char *portName3, int sopcBase) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# portName1: Name of asyn port for component at sopcBase -# portName2: Name of asyn port for component at sopcBase+0x10 -# portName3: Name of asyn port for component at sopcBase+0x20 -# sopcBase: must agree with FPGA content (0x800000) -initIP_EP200(0, 2, "SGIO_1", "SGIO_2", "SGIO_3", 0x800000) - -################################################################################ -# Initialize field-I/O interrupt support -#------------------------------------------ -# int initIP_EP200_Int(ushort carrier, ushort slot, int intVectorBase, -# int risingMaskMS, int risingMaskLS, int fallingMaskMS, -# int fallingMaskLS) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# intVectorBase: must agree with the FPGA content loaded (0x90 for softGlue -# 2.1 and higher; 0x80 for softGlue 2.0 and lower). softGlue -# uses three vectors, for example, 0x90, 0x91, 0x92. -# risingMaskMS: interrupt on 0->1 for I/O pins 33-48 -# risingMaskLS: interrupt on 0->1 for I/O pins 1-32 -# fallingMaskMS: interrupt on 1->0 for I/O pins 33-48 -# fallingMaskLS: interrupt on 1->0 for I/O pins 1-32 -initIP_EP200_Int(0, 2, 0x90, 0x0, 0x0, 0x0, 0x0) - -################################################################################ -# Set field-I/O data direction -#-------------------------------- -# int initIP_EP200_IO(ushort carrier, ushort slot, ushort moduleType, -# ushort dataDir) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# moduleType: one of [201, 202, 203, 204] -# dataDir: Bit mask, in which only the first 9 bits are significant. The -# meaning of each bit depends on moduleType, as shown in the -# table below. If a bit is set, the corresponding field I/O pins -# are outputs. Note that for the 202 and 204 modules, all I/O -# is differential, and I/O pin N is paired with pin N+1. For the -# 203 module, pins 25/26 through 47/48 are differential pairs. -# -# ------------------------------------------------------------------- -# | Correspondence between dataDir bits (0-8) and I/O pins (1-48) | -# ------------------------------------------------------------------- -# | | 201 | 202/204 | 203 | -# ------------------------------------------------------------------- -# | bit 0 | pins 1-8 | pins 1, 3,25,27 | pins 25,27 | -# | bit 1 | pins 9-16 | pins 5, 7,29,31 | pins 29,31 | -# | bit 2 | pins 17-24 | pins 9,11,33,35 | pins 33,35 | -# | bit 3 | pins 25-32 | pins 13,15,37,39 | pins 37,39 | -# | | | | | -# | bit 4 | pins 33-40 | pins 17,19,41,43 | pins 41,43 | -# | bit 5 | pins 41-48 | pins 21,23,45,47 | pins 45,47 | -# | bit 6 | x | x | pins 1-8 | -# | bit 7 | x | x | pins 9-16 | -# | | | | | -# | bit 8 | x | x | pins 17-24 | -# ------------------------------------------------------------------- -# Examples: -# 1. For the IP-EP201, moduleType is 201, and dataDir == 0x3c would mean -# that I/O bits 17-48 are outputs. -# 2. For the IP-EP202 (IP-EP204), moduleType is 202(204), and dataDir == 0x13 -# would mean that I/O bits 1,3,25,27, 5,7,29,31, 17,19,41,43 are outputs. -# 3. For the IP-EP203, moduleType is 203, and dataDir == 0x??? would mean -# that I/O bits 1-8, 25,27, 29,31, 33,35, 45,47 are outputs. -#initIP_EP200_IO(0, 2, 201, 0x3c) -initIP_EP200_IO(0, 2, 201, 0xc) -#initIP_EP200_IO(0, 2, 202, 0x13) - -#------------------------------------------------------------------------------- -# For backward compatibility with softGlue 2.1 and earlier, the following -# command can be used to initialize an IP_EP201 module, instead of the -# above calls to initIP_EP200(), initIP_EP200_Int(), and initIP_EP200_IO(). -# This won't work for any other IP_EP200 module -# -# int initIP_EP201(char *portName, ushort carrier, ushort slot, -# int msecPoll, int dataDir, int sopcOffset, int interruptVector, -# int risingMask, int fallingMask) -# portName: Name of asyn port for component at sopcOffset -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# msecPoll: Time interval between driver polls of field I/O bits -# dataDir: Data direction for I/O bits, explained below. -# sopcOffset: SOPC offset (must be as in example below). -# interruptVector: Must agree with the FPGA content loaded (0x90, 0x91, -# 0x92 for softGlue 2.1 and higher; 0x80, 0x81, 0x82 for -# softGlue 2.0 and lower). -# risingMask: 16-bit mask: if a bit is 1, the corresponding I/O bit will -# generate an interrupt when its value goes from 0 to 1. -# Bit 0 corresponds to field I/O pin 1, bit 1 to pin 2, etc. -# fallingMask: Similar to risingMask, but for 1-to-0 transitions. -# -# Note that the user can overwrite risingMask and -# fallingMask at run time, with menu selections, and -# probably has those selections autosaved. -# dataDir is a bit mask in which only bits 0 and 8 are significant. -# for sopcOffset 0x800000 -# If bit 0 of dataDir is set, I/O bits 1-8 are outputs. -# If bit 8 of dataDir is set, I/O bits 9-16 are outputs. -# for sopcOffset 0x800010 -# If bit 0 of dataDir is set, I/O bits 17-24 are outputs. -# If bit 8 of dataDir is set, I/O bits 25-32 are outputs. -# for sopcOffset 0x800020 -# If bit 0 of dataDir is set, I/O bits 33-40 are outputs. -# If bit 8 of dataDir is set, I/O bits 41-48 are outputs. -#!initIP_EP201("SGIO_1",0,2,1000000,0x101,0x800000,0x90,0x00,0x00) -#!initIP_EP201("SGIO_2",0,2,1000000,0x101,0x800010,0x91,0x00,0x00) -#!initIP_EP201("SGIO_3",0,2,1000000,0x101,0x800020,0x92,0x00,0x00) - -################################################################################ -# Initialize softGlue signal-name support -#------------------------------------------- -# All instances of a single-register component are initialized with a single -# call, as follows: -# -#initIP_EP201SingleRegisterPort(char *portName, ushort carrier, ushort slot) -# -# For example: -# initIP_EP201SingleRegisterPort("SOFTGLUE", 0, 2) -initIP_EP201SingleRegisterPort("SOFTGLUE", 0, 2) - - -################################################################################ -# Load databases -#------------------ -# Load a single database that all database fragments supporting -# single-register components can use to show which signals are connected -# together. This database is not needed for the functioning of the -# components, it's purely for the user interface. -dbLoadRecords("$(SOFTGLUE)/db/softGlue_SignalShow.db","P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# Load a set of database fragments for each single-register component. -# This database contains the records for standard softGlue, and must be loaded -# for all .hex files above -dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# This database contains the additional records needed for -# SoftGlue_2_2_Octupole_0_0.hex -#!dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent_octupole.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# This database contains the additional records needed for -# SoftGlue_2_2_1ID_Vgate_0_1.hex -#dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent_s1ID_Vgate.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# This database contains the additional records needed for -# SoftGlue_2_2_Encoder.hex -dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent_Encoder.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# Interrupt support. -# ('putenv' is used to fit the command into the vxWorks command line space.) -putenv "SFDB=$(SOFTGLUE)/db/softGlue_FPGAInt.db" -dbLoadRecords("$(SFDB)","P=xxx:,H=softGlue:,PORT1=SGIO_1,PORT2=SGIO_2,PORT3=SGIO_3,FIFO=10") - -taskDelay(50) - -# Some stuff just for convenience: software clock and pulse generators, and -# a couple of busy records. -dbLoadRecords("$(SOFTGLUE)/db/softGlue_convenience.db", "P=xxx:,H=softGlue:") - -# configMenu Menu of softGlue circuits -dbLoadRecords("$(AUTOSAVE)/asApp/Db/configMenu.db","P=xxx:,CONFIG=SG") -# Note that the request file MUST be named $(CONFIG)Menu.req. If the macro -# CONFIGMENU is defined with any value, backup (".savB") and sequence files -# (".savN") will not be written. We don't want these for configMenu. -doAfterIocInit("create_manual_set('SGMenu.req','P=xxx:,CONFIG=SG,H=softGlue:,CONFIGMENU=1')") - -# Register included example of a custom softGlue interrupt-service routine. -# This is for interrupts that occur too closely spaced in time for softGlue's -# normal interrupt service (an output link to an EPICS record) to handle. -#sampleCustomInterruptPrepare(0, 2, 0x800010, 0x1) - -# END softGlue.cmd ------------------------------------------------------------ diff --git a/iocBoot/iocLinux/softMotor.substitutions b/iocBoot/iocLinux/softMotor.substitutions deleted file mode 100644 index 988001d..0000000 --- a/iocBoot/iocLinux/softMotor.substitutions +++ /dev/null @@ -1,15 +0,0 @@ -file "$(STD)/stdApp/Db/softMotor.db" -{ -pattern -{P, SM} -{xxx:, SM1} -{xxx:, SM2} -{xxx:, SM3} -{xxx:, SM4} -{xxx:, SM5} -{xxx:, SM6} -{xxx:, SM7} -{xxx:, SM8} -{xxx:, SM9} -{xxx:, SM10} -} diff --git a/iocBoot/iocvxWorks/Makefile b/iocBoot/iocvxWorks/Makefile deleted file mode 100644 index ed67a43..0000000 --- a/iocBoot/iocvxWorks/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -TOP = ../.. -include $(TOP)/configure/CONFIG -ARCH = vxWorks-ppc32 -#ARCH = vxWorks694-ppc32 -TARGETS = cdCommands -include $(TOP)/configure/RULES.ioc diff --git a/iocBoot/iocvxWorks/auto_positions.req b/iocBoot/iocvxWorks/auto_positions.req deleted file mode 100644 index 647b368..0000000 --- a/iocBoot/iocvxWorks/auto_positions.req +++ /dev/null @@ -1 +0,0 @@ -file built_positions.req P=$(P) diff --git a/iocBoot/iocvxWorks/auto_settings.req b/iocBoot/iocvxWorks/auto_settings.req deleted file mode 100644 index b42eb37..0000000 --- a/iocBoot/iocvxWorks/auto_settings.req +++ /dev/null @@ -1,6 +0,0 @@ -# Note: the macro P must have been supplied to the routine that parses -# this file. Normally, this means a command like the following will be issued -# after iocInit: -# create_monitor_set("auto_settings.req",30,"P=xxx:") - -file built_settings.req P=$(P) diff --git a/iocBoot/iocvxWorks/autosave/dummy b/iocBoot/iocvxWorks/autosave/dummy deleted file mode 100644 index 9f1115d..0000000 --- a/iocBoot/iocvxWorks/autosave/dummy +++ /dev/null @@ -1 +0,0 @@ -git won't make an empty directory, but we need this directory to exist diff --git a/iocBoot/iocvxWorks/basic_motor.substitutions b/iocBoot/iocvxWorks/basic_motor.substitutions deleted file mode 100644 index 963c410..0000000 --- a/iocBoot/iocvxWorks/basic_motor.substitutions +++ /dev/null @@ -1,13 +0,0 @@ -file "$(MOTOR)/db/basic_motor.db" -{ -pattern -{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} -{xxx:, 1, "m$(N)", "OMS VME58", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 2, "m$(N)", "OMS VME58", 0, 1, "motor $(N)", degrees Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 3, "m$(N)", "OMS VME58", 0, 2, "motor $(N)", degrees Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 4, "m$(N)", "OMS VME58", 0, 3, "motor $(N)", degrees Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 5, "m$(N)", "OMS VME58", 0, 4, "motor $(N)", degrees Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 6, "m$(N)", "OMS VME58", 0, 5, "motor $(N)", degrees Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 7, "m$(N)", "OMS VME58", 0, 6, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -{xxx:, 8, "m$(N)", "OMS VME58", 0, 7, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 2.5e-4, 5, 100, -100, ""} -} diff --git a/iocBoot/iocvxWorks/softGlue.cmd b/iocBoot/iocvxWorks/softGlue.cmd deleted file mode 100644 index 00f50d2..0000000 --- a/iocBoot/iocvxWorks/softGlue.cmd +++ /dev/null @@ -1,199 +0,0 @@ -# BEGIN softGlue.cmd ---------------------------------------------------------- -# This must run after industryPack.cmd - -#devAsynSoftGlueDebug=1 -#drvIP_EP201Debug=1 - -################################################################################ -# Initialize the FPGA -#----------------------- -# Write content to the FPGA. This command will fail if the FPGA already -# has content loaded, as it will after a soft reboot. To load new FPGA -# content, you must power cycle the ioc. -# -# initIP_EP200_FPGA(ushort carrier, ushort slot, char *filename) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# filename: Name of the FPGA-content hex file to load into the FPGA. -# - -# standard softGlue 2.2 -#initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2.hex") -# standard softGlue 2.2 plus two shift registers -#initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2_Octupole_0_0.hex") -# standard softGlue 2.2 plus two up/down counters plus two quadrature decoders -initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2_Encoder.hex") - -################################################################################ -# Initialize basic field I/O -#------------------------------ -# int initIP_EP200(ushort carrier, ushort slot, char *portName1, -# char *portName2, char *portName3, int sopcBase) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# portName1: Name of asyn port for component at sopcBase -# portName2: Name of asyn port for component at sopcBase+0x10 -# portName3: Name of asyn port for component at sopcBase+0x20 -# sopcBase: must agree with FPGA content (0x800000) -initIP_EP200(0, 2, "SGIO_1", "SGIO_2", "SGIO_3", 0x800000) - -################################################################################ -# Initialize field-I/O interrupt support -#------------------------------------------ -# int initIP_EP200_Int(ushort carrier, ushort slot, int intVectorBase, -# int risingMaskMS, int risingMaskLS, int fallingMaskMS, -# int fallingMaskLS) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# intVectorBase: must agree with the FPGA content loaded (0x90 for softGlue -# 2.1 and higher; 0x80 for softGlue 2.0 and lower). softGlue -# uses three vectors, for example, 0x90, 0x91, 0x92. -# risingMaskMS: interrupt on 0->1 for I/O pins 33-48 -# risingMaskLS: interrupt on 0->1 for I/O pins 1-32 -# fallingMaskMS: interrupt on 1->0 for I/O pins 33-48 -# fallingMaskLS: interrupt on 1->0 for I/O pins 1-32 -initIP_EP200_Int(0, 2, 0x90, 0x0, 0x0, 0x0, 0x0) - -################################################################################ -# Set field-I/O data direction -#-------------------------------- -# int initIP_EP200_IO(ushort carrier, ushort slot, ushort moduleType, -# ushort dataDir) -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# moduleType: one of [201, 202, 203, 204] -# dataDir: Bit mask, in which only the first 9 bits are significant. The -# meaning of each bit depends on moduleType, as shown in the -# table below. If a bit is set, the corresponding field I/O pins -# are outputs. Note that for the 202 and 204 modules, all I/O -# is differential, and I/O pin N is paired with pin N+1. For the -# 203 module, pins 25/26 through 47/48 are differential pairs. -# -# ------------------------------------------------------------------- -# | Correspondence between dataDir bits (0-8) and I/O pins (1-48) | -# ------------------------------------------------------------------- -# | | 201 | 202/204 | 203 | -# ------------------------------------------------------------------- -# | bit 0 | pins 1-8 | pins 1, 3,25,27 | pins 25,27 | -# | bit 1 | pins 9-16 | pins 5, 7,29,31 | pins 29,31 | -# | bit 2 | pins 17-24 | pins 9,11,33,35 | pins 33,35 | -# | bit 3 | pins 25-32 | pins 13,15,37,39 | pins 37,39 | -# | | | | | -# | bit 4 | pins 33-40 | pins 17,19,41,43 | pins 41,43 | -# | bit 5 | pins 41-48 | pins 21,23,45,47 | pins 45,47 | -# | bit 6 | x | x | pins 1-8 | -# | bit 7 | x | x | pins 9-16 | -# | | | | | -# | bit 8 | x | x | pins 17-24 | -# ------------------------------------------------------------------- -# Examples: -# 1. For the IP-EP201, moduleType is 201, and dataDir == 0x3c would mean -# that I/O bits 17-48 are outputs. -# 2. For the IP-EP202 (IP-EP204), moduleType is 202(204), and dataDir == 0x13 -# would mean that I/O bits 1,3,25,27, 5,7,29,31, 17,19,41,43 are outputs. -# 3. For the IP-EP203, moduleType is 203, and dataDir == 0x??? would mean -# that I/O bits 1-8, 25,27, 29,31, 33,35, 45,47 are outputs. -#initIP_EP200_IO(0, 2, 201, 0x3c) -initIP_EP200_IO(0, 2, 201, 0xc) -#initIP_EP200_IO(0, 2, 202, 0x13) - -#------------------------------------------------------------------------------- -# For backward compatibility with softGlue 2.1 and earlier, the following -# command can be used to initialize an IP_EP201 module, instead of the -# above calls to initIP_EP200(), initIP_EP200_Int(), and initIP_EP200_IO(). -# This won't work for any other IP_EP200 module -# -# int initIP_EP201(char *portName, ushort carrier, ushort slot, -# int msecPoll, int dataDir, int sopcOffset, int interruptVector, -# int risingMask, int fallingMask) -# portName: Name of asyn port for component at sopcOffset -# carrier: IP-carrier number (numbering begins at 0) -# slot: IP-slot number (numbering begins at 0) -# msecPoll: Time interval between driver polls of field I/O bits -# dataDir: Data direction for I/O bits, explained below. -# sopcOffset: SOPC offset (must be as in example below). -# interruptVector: Must agree with the FPGA content loaded (0x90, 0x91, -# 0x92 for softGlue 2.1 and higher; 0x80, 0x81, 0x82 for -# softGlue 2.0 and lower). -# risingMask: 16-bit mask: if a bit is 1, the corresponding I/O bit will -# generate an interrupt when its value goes from 0 to 1. -# Bit 0 corresponds to field I/O pin 1, bit 1 to pin 2, etc. -# fallingMask: Similar to risingMask, but for 1-to-0 transitions. -# -# Note that the user can overwrite risingMask and -# fallingMask at run time, with menu selections, and -# probably has those selections autosaved. -# dataDir is a bit mask in which only bits 0 and 8 are significant. -# for sopcOffset 0x800000 -# If bit 0 of dataDir is set, I/O bits 1-8 are outputs. -# If bit 8 of dataDir is set, I/O bits 9-16 are outputs. -# for sopcOffset 0x800010 -# If bit 0 of dataDir is set, I/O bits 17-24 are outputs. -# If bit 8 of dataDir is set, I/O bits 25-32 are outputs. -# for sopcOffset 0x800020 -# If bit 0 of dataDir is set, I/O bits 33-40 are outputs. -# If bit 8 of dataDir is set, I/O bits 41-48 are outputs. -#!initIP_EP201("SGIO_1",0,2,1000000,0x101,0x800000,0x90,0x00,0x00) -#!initIP_EP201("SGIO_2",0,2,1000000,0x101,0x800010,0x91,0x00,0x00) -#!initIP_EP201("SGIO_3",0,2,1000000,0x101,0x800020,0x92,0x00,0x00) - -################################################################################ -# Initialize softGlue signal-name support -#------------------------------------------- -# All instances of a single-register component are initialized with a single -# call, as follows: -# -#initIP_EP201SingleRegisterPort(char *portName, ushort carrier, ushort slot) -# -# For example: -# initIP_EP201SingleRegisterPort("SOFTGLUE", 0, 2) -initIP_EP201SingleRegisterPort("SOFTGLUE", 0, 2) - - -################################################################################ -# Load databases -#------------------ -# Load a single database that all database fragments supporting -# single-register components can use to show which signals are connected -# together. This database is not needed for the functioning of the -# components, it's purely for the user interface. -dbLoadRecords("$(SOFTGLUE)/db/softGlue_SignalShow.db","P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# Load a set of database fragments for each single-register component. -# This database contains the records for standard softGlue, and must be loaded -# for all .hex files above -dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# This database contains the additional records needed for -# SoftGlue_2_2_Octupole_0_0.hex -#!dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent_octupole.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# This database contains the additional records needed for -# SoftGlue_2_2_Encoder.hex -dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent_Encoder.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE,READEVENT=10") - -# Interrupt support. -# ('putenv' is used to fit the command into the vxWorks command line space.) -putenv "SFDB=$(SOFTGLUE)/db/softGlue_FPGAInt.db" -dbLoadRecords("$(SFDB)","P=xxx:,H=softGlue:,PORT1=SGIO_1,PORT2=SGIO_2,PORT3=SGIO_3,FIFO=10") - -taskDelay(50) - -# Some stuff just for convenience: software clock and pulse generators, and -# a couple of busy records. -dbLoadRecords("$(SOFTGLUE)/db/softGlue_convenience.db", "P=xxx:,H=softGlue:") - -# Menu of softGlue circuits -# configMenu example. See create_manual_set() command after iocInit. -dbLoadRecords("$(AUTOSAVE)/asApp/Db/configMenu.db","P=xxx:,CONFIG=SG") -# Note that the request file MUST be named $(CONFIG)Menu.req. If the macro -# CONFIGMENU is defined with any value, backup (".savB") and sequence files -# (".savN") will not be written. We don't want these for configMenu. -doAfterIocInit("create_manual_set('SGMenu.req','P=xxx:,CONFIG=SG,H=softGlue:,CONFIGMENU=1')") - -# Register included example of a custom softGlue interrupt-service routine. -# This is for interrupts that occur too closely spaced in time for softGlue's -# normal interrupt service (an output link to an EPICS record) to handle. -#sampleCustomInterruptPrepare(0, 2, 0x800010, 0x1) - -# END softGlue.cmd ------------------------------------------------------------ -- GitLab