From fd9abff1afc6260e8987486e8db2d179e79b75e3 Mon Sep 17 00:00:00 2001 From: Keenan Lang <klang@aps.anl.gov> Date: Fri, 28 Oct 2016 14:15:17 -0500 Subject: [PATCH] eliminated platform specific folders, instead moved scripts to examples folder --- iocBoot/iocxxx/{vxWorks => }/SGMenu.req | 0 iocBoot/iocxxx/{vxWorks => }/bootParms | 0 .../areaDetector.iocsh} | 0 .../iocxxx/{vxWorks => examples}/camac.cmd | 0 .../{vxWorks => examples}/canberra_1.cmd | 0 .../{vxWorks => examples}/canberra_13.cmd | 0 .../{vxWorks => examples}/canberra_3.cmd | 0 .../iocxxx/{vxWorks => examples}/dac128V.cmd | 0 iocBoot/iocxxx/{vxWorks => examples}/gpib.cmd | 0 .../{vxWorks => examples}/industryPack.cmd | 12 ++--- .../iocxxx/{vxWorks => examples}/ip330.cmd | 0 .../iocxxx/{vxWorks => examples}/ipUnidig.cmd | 0 .../iocxxx/{common => examples}/optics.iocsh | 0 .../iocxxx/{vxWorks => examples}/quadEM.cmd | 0 .../serial.cmd => examples/serial_soft.cmd} | 0 .../serial.cmd => examples/serial_vx.cmd} | 0 .../{common => examples}/softGlue.iocsh | 0 .../{vxWorks => examples}/st_SIS3801.iocsh | 0 .../{vxWorks => examples}/st_SIS3820.iocsh | 0 iocBoot/iocxxx/{vxWorks => examples}/vme.cmd | 6 +-- iocBoot/iocxxx/{common => }/saveData.req | 0 iocBoot/iocxxx/{common => }/scan1Menu.req | 0 iocBoot/iocxxx/softioc/canberra_1.cmd | 50 ------------------- .../iocxxx/softioc/scanParms.substitutions | 37 -------------- .../scanParms.substitutions | 0 iocBoot/iocxxx/vxWorks/areaDetector.cmd | 41 --------------- 26 files changed, 9 insertions(+), 137 deletions(-) rename iocBoot/iocxxx/{vxWorks => }/SGMenu.req (100%) rename iocBoot/iocxxx/{vxWorks => }/bootParms (100%) rename iocBoot/iocxxx/{softioc/areaDetector.cmd => examples/areaDetector.iocsh} (100%) rename iocBoot/iocxxx/{vxWorks => examples}/camac.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/canberra_1.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/canberra_13.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/canberra_3.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/dac128V.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/gpib.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/industryPack.cmd (95%) rename iocBoot/iocxxx/{vxWorks => examples}/ip330.cmd (100%) rename iocBoot/iocxxx/{vxWorks => examples}/ipUnidig.cmd (100%) rename iocBoot/iocxxx/{common => examples}/optics.iocsh (100%) rename iocBoot/iocxxx/{vxWorks => examples}/quadEM.cmd (100%) rename iocBoot/iocxxx/{softioc/serial.cmd => examples/serial_soft.cmd} (100%) rename iocBoot/iocxxx/{vxWorks/serial.cmd => examples/serial_vx.cmd} (100%) rename iocBoot/iocxxx/{common => examples}/softGlue.iocsh (100%) rename iocBoot/iocxxx/{vxWorks => examples}/st_SIS3801.iocsh (100%) rename iocBoot/iocxxx/{vxWorks => examples}/st_SIS3820.iocsh (100%) rename iocBoot/iocxxx/{vxWorks => examples}/vme.cmd (98%) rename iocBoot/iocxxx/{common => }/saveData.req (100%) rename iocBoot/iocxxx/{common => }/scan1Menu.req (100%) delete mode 100644 iocBoot/iocxxx/softioc/canberra_1.cmd delete mode 100644 iocBoot/iocxxx/softioc/scanParms.substitutions rename iocBoot/iocxxx/{vxWorks => substitutions}/scanParms.substitutions (100%) delete mode 100644 iocBoot/iocxxx/vxWorks/areaDetector.cmd diff --git a/iocBoot/iocxxx/vxWorks/SGMenu.req b/iocBoot/iocxxx/SGMenu.req similarity index 100% rename from iocBoot/iocxxx/vxWorks/SGMenu.req rename to iocBoot/iocxxx/SGMenu.req diff --git a/iocBoot/iocxxx/vxWorks/bootParms b/iocBoot/iocxxx/bootParms similarity index 100% rename from iocBoot/iocxxx/vxWorks/bootParms rename to iocBoot/iocxxx/bootParms diff --git a/iocBoot/iocxxx/softioc/areaDetector.cmd b/iocBoot/iocxxx/examples/areaDetector.iocsh similarity index 100% rename from iocBoot/iocxxx/softioc/areaDetector.cmd rename to iocBoot/iocxxx/examples/areaDetector.iocsh diff --git a/iocBoot/iocxxx/vxWorks/camac.cmd b/iocBoot/iocxxx/examples/camac.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/camac.cmd rename to iocBoot/iocxxx/examples/camac.cmd diff --git a/iocBoot/iocxxx/vxWorks/canberra_1.cmd b/iocBoot/iocxxx/examples/canberra_1.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/canberra_1.cmd rename to iocBoot/iocxxx/examples/canberra_1.cmd diff --git a/iocBoot/iocxxx/vxWorks/canberra_13.cmd b/iocBoot/iocxxx/examples/canberra_13.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/canberra_13.cmd rename to iocBoot/iocxxx/examples/canberra_13.cmd diff --git a/iocBoot/iocxxx/vxWorks/canberra_3.cmd b/iocBoot/iocxxx/examples/canberra_3.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/canberra_3.cmd rename to iocBoot/iocxxx/examples/canberra_3.cmd diff --git a/iocBoot/iocxxx/vxWorks/dac128V.cmd b/iocBoot/iocxxx/examples/dac128V.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/dac128V.cmd rename to iocBoot/iocxxx/examples/dac128V.cmd diff --git a/iocBoot/iocxxx/vxWorks/gpib.cmd b/iocBoot/iocxxx/examples/gpib.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/gpib.cmd rename to iocBoot/iocxxx/examples/gpib.cmd diff --git a/iocBoot/iocxxx/vxWorks/industryPack.cmd b/iocBoot/iocxxx/examples/industryPack.cmd similarity index 95% rename from iocBoot/iocxxx/vxWorks/industryPack.cmd rename to iocBoot/iocxxx/examples/industryPack.cmd index 13c1316..ad23c5a 100644 --- a/iocBoot/iocxxx/vxWorks/industryPack.cmd +++ b/iocBoot/iocxxx/examples/industryPack.cmd @@ -61,21 +61,21 @@ ipacReport(2) # serial support -< vxWorks/serial.cmd +#< serial.cmd # user programmable glue electronics (requires Acromag IP-EP20x) -< common/softGlue.iocsh +#< softGlue.iocsh # Systran DAC128V -#< vxWorks/dac128V.cmd +#< dac128V.cmd # Analog I/O (Acromag IP330 ADC) -#< vxWorks/ip330.cmd +#< ip330.cmd # SBS IpUnidig digital I/O -< vxWorks/ipUnidig.cmd +#< ipUnidig.cmd # gpib support -#< $(PLATFORM)/gpib.cmd +#< gpib.cmd # END industryPack.cmd -------------------------------------------------------- diff --git a/iocBoot/iocxxx/vxWorks/ip330.cmd b/iocBoot/iocxxx/examples/ip330.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/ip330.cmd rename to iocBoot/iocxxx/examples/ip330.cmd diff --git a/iocBoot/iocxxx/vxWorks/ipUnidig.cmd b/iocBoot/iocxxx/examples/ipUnidig.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/ipUnidig.cmd rename to iocBoot/iocxxx/examples/ipUnidig.cmd diff --git a/iocBoot/iocxxx/common/optics.iocsh b/iocBoot/iocxxx/examples/optics.iocsh similarity index 100% rename from iocBoot/iocxxx/common/optics.iocsh rename to iocBoot/iocxxx/examples/optics.iocsh diff --git a/iocBoot/iocxxx/vxWorks/quadEM.cmd b/iocBoot/iocxxx/examples/quadEM.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/quadEM.cmd rename to iocBoot/iocxxx/examples/quadEM.cmd diff --git a/iocBoot/iocxxx/softioc/serial.cmd b/iocBoot/iocxxx/examples/serial_soft.cmd similarity index 100% rename from iocBoot/iocxxx/softioc/serial.cmd rename to iocBoot/iocxxx/examples/serial_soft.cmd diff --git a/iocBoot/iocxxx/vxWorks/serial.cmd b/iocBoot/iocxxx/examples/serial_vx.cmd similarity index 100% rename from iocBoot/iocxxx/vxWorks/serial.cmd rename to iocBoot/iocxxx/examples/serial_vx.cmd diff --git a/iocBoot/iocxxx/common/softGlue.iocsh b/iocBoot/iocxxx/examples/softGlue.iocsh similarity index 100% rename from iocBoot/iocxxx/common/softGlue.iocsh rename to iocBoot/iocxxx/examples/softGlue.iocsh diff --git a/iocBoot/iocxxx/vxWorks/st_SIS3801.iocsh b/iocBoot/iocxxx/examples/st_SIS3801.iocsh similarity index 100% rename from iocBoot/iocxxx/vxWorks/st_SIS3801.iocsh rename to iocBoot/iocxxx/examples/st_SIS3801.iocsh diff --git a/iocBoot/iocxxx/vxWorks/st_SIS3820.iocsh b/iocBoot/iocxxx/examples/st_SIS3820.iocsh similarity index 100% rename from iocBoot/iocxxx/vxWorks/st_SIS3820.iocsh rename to iocBoot/iocxxx/examples/st_SIS3820.iocsh diff --git a/iocBoot/iocxxx/vxWorks/vme.cmd b/iocBoot/iocxxx/examples/vme.cmd similarity index 98% rename from iocBoot/iocxxx/vxWorks/vme.cmd rename to iocBoot/iocxxx/examples/vme.cmd index ef4ff07..b9a0332 100644 --- a/iocBoot/iocxxx/vxWorks/vme.cmd +++ b/iocBoot/iocxxx/examples/vme.cmd @@ -69,10 +69,10 @@ VSCSetup(2, 0xB0000000, 200) #dbLoadRecords("$(VME)/vmeApp/Db/IK320group.db","P=$(PREFIX),group=5") # Struck 3801 MCS setup. mca 7-3-1 -#< vxWorks/st_SIS3801.iocsh +#< st_SIS3801.iocsh # Struck 3820 MCS setup. mca 7-3-1 -< vxWorks/st_SIS3820.iocsh +#< st_SIS3820.iocsh # VMI4116 setup parameters: @@ -114,6 +114,6 @@ dbLoadRecords("$(VME)/vmeApp/Db/vme.db", "P=$(PREFIX),Q=vme1") #abConfigAuto() # APS quad electrometer -#< vxWorks/quadEM.cmd +#< quadEM.cmd # END vme.cmd ----------------------------------------------------------------- diff --git a/iocBoot/iocxxx/common/saveData.req b/iocBoot/iocxxx/saveData.req similarity index 100% rename from iocBoot/iocxxx/common/saveData.req rename to iocBoot/iocxxx/saveData.req diff --git a/iocBoot/iocxxx/common/scan1Menu.req b/iocBoot/iocxxx/scan1Menu.req similarity index 100% rename from iocBoot/iocxxx/common/scan1Menu.req rename to iocBoot/iocxxx/scan1Menu.req diff --git a/iocBoot/iocxxx/softioc/canberra_1.cmd b/iocBoot/iocxxx/softioc/canberra_1.cmd deleted file mode 100644 index 7e39234..0000000 --- a/iocBoot/iocxxx/softioc/canberra_1.cmd +++ /dev/null @@ -1,50 +0,0 @@ - -# BEGIN canberra_1.cmd -------------------------------------------------------- - -# Commands to load a single Canberra detector with ICB electronics -#epicsEnvSet("mcaRecordDebug", 1) -#epicsEnvSet("aimDebug", 1) -#epicsEnvSet("icbDebug", 1) - -# AIMConfig(portName, ethernet_address, portNumber, maxChans, -# maxSignals, maxSequences, ethernetDevice) -# portName, # asyn port name to be created -# ethernet_address, # Low order 16 bits of Ethernet hardware address -# portNumber, # ADC port on AIM (1 or 2) -# maxChans, # Maximum channels for this input -# maxSignals, # Maximum signals for this input (>1 for MCS or multiplexor) -# maxSequences, # Maximum sequences for time resolved applications -# ethernetDevice) # Ethernet device name on IOC -# # Typically ei0 for Motorola 68K, dc0 for ppc, eth0 for Linux -AIMConfig("AIM1/1", 0x59e, 1, 2048, 1, 1, "eth0") -AIMConfig("AIM1/2", 0x59e, 2, 2048, 8, 1, "eth0") -AIMConfig("DSA2000", 0x8058, 1, 2048, 1, 1, "eth0") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc1,DTYP=asynMCA,INP=@asyn(AIM1/1 0),NCHAN=2048") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc2,DTYP=asynMCA,INP=@asyn(AIM1/2 0),NCHAN=2048") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc3,DTYP=asynMCA,INP=@asyn(AIM1/2 2),NCHAN=2048") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc4,DTYP=asynMCA,INP=@asyn(AIM1/2 4),NCHAN=2048") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc5,DTYP=asynMCA,INP=@asyn(AIM1/2 6),NCHAN=2048") -dbLoadRecords("$(MCA)/mcaApp/Db/mca.db", "P=$(PREFIX),M=aim_adc6,DTYP=asynMCA,INP=@asyn(DSA2000 0),NCHAN=2048") - -# icbConfig(portName, ethernetAddress, icbAddress, moduleType) -# portName to give to this asyn port -# ethernetAddress - Ethernet address of module, low order 16 bits -# icbAddress - rotary switch setting inside ICB module -# moduleType -# 0 = ADC -# 1 = Amplifier -# 2 = HVPS -# 3 = TCA -# 4 = DSP -icbConfig("icbAdc1", 0x59e, 5, 0) -dbLoadRecords("$(MCA)/mcaApp/Db/icb_adc.db", "P=$(PREFIX),ADC=adc1,PORT=icbAdc1") -icbConfig("icbAmp1", 0x59e, 3, 1) -dbLoadRecords("$(MCA)/mcaApp/Db/icb_amp.db", "P=$(PREFIX),AMP=amp1,PORT=icbAmp1") -icbConfig("icbHvps1", 0x59e, 2, 2) -dbLoadRecords("$(MCA)/mcaApp/Db/icb_hvps.db", "P=$(PREFIX),HVPS=hvps1,PORT=icbHvps1,LIMIT=1000") -icbConfig("icbTca1", 0x59e, 8, 3) -dbLoadRecords("$(MCA)/mcaApp/Db/icb_tca.db", "P=$(PREFIX),TCA=tca1,MCA=aim_adc2,PORT=icbTca1") -#icbConfig("icbDsp1", 0x8058, 0, 4) -#dbLoadRecords("$(MCA)/mcaApp/Db/icbDsp.db", "P=$(PREFIX),DSP=dsp1,PORT=icbDsp1") - -# END canberra_1.cmd ---------------------------------------------------------- diff --git a/iocBoot/iocxxx/softioc/scanParms.substitutions b/iocBoot/iocxxx/softioc/scanParms.substitutions deleted file mode 100644 index eab0fc0..0000000 --- a/iocBoot/iocxxx/softioc/scanParms.substitutions +++ /dev/null @@ -1,37 +0,0 @@ -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} - -# 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} - - -} diff --git a/iocBoot/iocxxx/vxWorks/scanParms.substitutions b/iocBoot/iocxxx/substitutions/scanParms.substitutions similarity index 100% rename from iocBoot/iocxxx/vxWorks/scanParms.substitutions rename to iocBoot/iocxxx/substitutions/scanParms.substitutions diff --git a/iocBoot/iocxxx/vxWorks/areaDetector.cmd b/iocBoot/iocxxx/vxWorks/areaDetector.cmd deleted file mode 100644 index 6e189c2..0000000 --- a/iocBoot/iocxxx/vxWorks/areaDetector.cmd +++ /dev/null @@ -1,41 +0,0 @@ -# Create a simDetector driver -simDetectorConfig("SIM1", 640, 480, 1, 50, 50000000) -dbLoadRecords("$(ADCORE)/ADApp/Db/ADBase.template", "P=$(PREFIX),R=cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1") -dbLoadRecords("$(ADCORE)/ADApp/Db/simDetector.template","P=$(PREFIX),R=cam1:,PORT=SIM1,ADDR=0,TIMEOUT=1") - -# Create a second simDetector driver -simDetectorConfig("SIM2", 300, 200, 1, 50, 50000000) -dbLoadRecords("$(ADCORE)/ADApp/Db/ADBase.template", "P=$(PREFIX),R=cam2:,PORT=SIM2,ADDR=0,TIMEOUT=1") -dbLoadRecords("$(ADCORE)/ADApp/Db/simDetector.template","P=$(PREFIX),R=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) -epicsEnvSet("cmd","P=$(PREFIX),R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDPluginBase.template","$(cmd)") -epicsEnvSet("cmd","P=$(PREFIX),R=image1:,PORT=SIM1Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDStdArrays.template", "$(cmd)") - -# Create a standard arrays plugin, set it to get data from second simDetector driver. -NDStdArraysConfigure("SIM2Image", 1, 0, "SIM2", 0, 2000000) -epicsEnvSet("cmd","P=$(PREFIX),R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDPluginBase.template", "$(cmd)") -epicsEnvSet("cmd","P=$(PREFIX),R=image2:,PORT=SIM2Image,ADDR=0,TIMEOUT=1,TYPE=Int8,FTVL=UCHAR,NELEMENTS=1392640") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDStdArrays.template", "$(cmd)") -# Load the database to use with Stephen Mudie's IDL code -#dbLoadRecords("$(ADCORE)/ADApp/Db/EPICS_AD_Viewer.template", "P=$(PREFIX), R=image1:") - -# Create a file saving plugin -NDFileNetCDFConfigure("SIM1File", 20, 0, "SIM1", 0) -epicsEnvSet("cmd","P=$(PREFIX),R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDPluginBase.template", "$(cmd)") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDFile.template", "P=$(PREFIX),R=netCDF1:,PORT=SIM1File,ADDR=0,TIMEOUT=1") - -# Create an ROI plugin -NDROIConfigure("SIM1ROI", 20, 0, "SIM1", 0, 8, 20, 20000000) -epicsEnvSet("cmd","P=$(PREFIX),R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1,NDARRAY_PORT=SIM1,NDARRAY_ADDR=0") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDPluginBase.template", "$(cmd)") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDROI.template", "P=$(PREFIX),R=ROI1:, PORT=SIM1ROI,ADDR=0,TIMEOUT=1") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDROIN.template", "P=$(PREFIX),R=ROI1:0:,PORT=SIM1ROI,ADDR=0,TIMEOUT=1,HIST_SIZE=256") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDROIN.template", "P=$(PREFIX),R=ROI1:1:,PORT=SIM1ROI,ADDR=1,TIMEOUT=1,HIST_SIZE=256") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDROIN.template", "P=$(PREFIX),R=ROI1:2:,PORT=SIM1ROI,ADDR=2,TIMEOUT=1,HIST_SIZE=256") -dbLoadRecords("$(ADCORE)/ADApp/Db/NDROIN.template", "P=$(PREFIX),R=ROI1:3:,PORT=SIM1ROI,ADDR=3,TIMEOUT=1,HIST_SIZE=256") -- GitLab