Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 20.21 KB | None | 0 0
  1. [rp@tsuru iocFastCCD]$ ./st.cmd
  2. #!../../bin/linux-x86_64/FastCCDApp
  3. < envPaths
  4. epicsEnvSet("IOC","iocFastCCD")
  5. epicsEnvSet("TOP","/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC")
  6. epicsEnvSet("ADFASTCCD","/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/../..")
  7. epicsEnvSet("SUPPORT","/usr/local/epics/R7.0.1.1/support")
  8. epicsEnvSet("AREA_DETECTOR","/usr/local/epics/R7.0.1.1/support/areadetector/3-2")
  9. epicsEnvSet("ADSUPPORT","/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADSupport")
  10. epicsEnvSet("ADCORE","/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore")
  11. epicsEnvSet("EPICS_BASE","/usr/local/epics/R7.0.1.1/base")
  12. epicsEnvSet("ASYN","/usr/local/epics/R7.0.1.1/support/asyn/4-32")
  13. epicsEnvSet("AUTOSAVE","/usr/local/epics/R7.0.1.1/support/autosave/5-9")
  14. epicsEnvSet("BUSY","/usr/local/epics/R7.0.1.1/support/busy/1-6-1")
  15. epicsEnvSet("CALC","/usr/local/epics/R7.0.1.1/support/calc/3-7")
  16. epicsEnvSet("SNCSEQ","/usr/local/epics/R7.0.1.1/support/seq/2.2.5")
  17. epicsEnvSet("SSCAN","/usr/local/epics/R7.0.1.1/support/sscan/2-11-1")
  18. epicsEnvSet("ADCORE", "/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore")
  19. errlogInit(20000)
  20. epicsEnvSet("EPICS_CA_AUTO_ADDR_LIST" , "NO")
  21. epicsEnvSet("EPICS_CA_ADDR_LIST"      , "131.243.73.224 192.168.1.42")
  22. epicsEnvSet("EPICS_CA_MAX_ARRAY_BYTES", "10000000")
  23. dbLoadDatabase("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/dbd/FastCCDApp.dbd")
  24. FastCCDApp_registerRecordDeviceDriver(pdbbase)
  25. epicsEnvSet("PREFIX", "ALS:701:")
  26. epicsEnvSet("PORT",   "FASTCCD")
  27. epicsEnvSet("QSIZE",  "20")
  28. epicsEnvSet("XSIZE",  "2048")
  29. epicsEnvSet("YSIZE",  "2048")
  30. epicsEnvSet("NCHANS", "2048")
  31. epicsEnvSet("CBUFFS", "500")
  32. epicsEnvSet("EPICS_DB_INCLUDE_PATH", "/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore/db")
  33. # FastCCDConfig(const char *portName, int maxBuffers, size_t maxMemory,
  34. #               int priority, int stackSize, int packetBuffer, int imageBuffer,
  35. #                               const char *baseIP, const char *fabricIP, const char *fabricMAC))
  36. FastCCDConfig("FASTCCD", 0, 0, 0, 100000, 2000, 200, "192.168.1.207", "10.0.5.207", "")
  37. # Load Records
  38. dbLoadRecords("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/../../db/FastCCD.template",   "P=ALS:701:,R=cam1:,PORT=FASTCCD,ADDR=0,TIMEOUT=1")
  39. Status Firmware = 0x302D
  40. # Create a standard arrays plugin
  41. NDStdArraysConfigure("Image1", 5, 0, "FASTCCD", 0, 0)
  42. dbLoadRecords("NDStdArrays.template", "P=ALS:701:,R=image1:,PORT=Image1,NDARRAY_PORT=FASTCCD,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=2361600")
  43. # Load all other plugins using commonPlugins.cmd
  44. < /usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore/iocBoot/commonPlugins.cmd
  45. # This is an example file for creating plugins
  46. # It uses the following environment variable macros
  47. # Many of the parameters defined in this file are also in commonPlugins_settings.req so if autosave is being
  48. # use the autosave value will replace the value passed to this file.
  49. # $(PREFIX)      Prefix for all records
  50. # $(PORT)        The port name for the detector.  In autosave.
  51. # $(QSIZE)       The queue size for all plugins.  In autosave.
  52. # $(XSIZE)       The maximum image width; used to set the maximum size for row profiles in the NDPluginStats plugin and 1-D FFT
  53. #                   profiles in NDPluginFFT.
  54. # $(YSIZE)       The maximum image height; used to set the maximum size for column profiles in the NDPluginStats plugin
  55. # $(NCHANS)      The maximum number of time series points in the NDPluginStats, NDPluginROIStats, and NDPluginAttribute plugins
  56. # $(CBUFFS)      The maximum number of frames buffered in the NDPluginCircularBuff plugin
  57. # $(MAX_THREADS) The maximum number of threads for plugins which can run in multiple threads. Defaults to 5.
  58. # Create a netCDF file saving plugin
  59. NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "FASTCCD", 0)
  60. dbLoadRecords("NDFileNetCDF.template","P=ALS:701:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  61. # Create a TIFF file saving plugin
  62. NDFileTIFFConfigure("FileTIFF1", 20, 0, "FASTCCD", 0)
  63. dbLoadRecords("NDFileTIFF.template",  "P=ALS:701:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  64. # Create a JPEG file saving plugin
  65. NDFileJPEGConfigure("FileJPEG1", 20, 0, "FASTCCD", 0)
  66. dbLoadRecords("NDFileJPEG.template",  "P=ALS:701:,R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  67. # Create a NeXus file saving plugin
  68. NDFileNexusConfigure("FileNexus1", 20, 0, "FASTCCD", 0)
  69. dbLoadRecords("NDFileNexus.template", "P=ALS:701:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  70. # Create an HDF5 file saving plugin
  71. NDFileHDF5Configure("FileHDF1", 20, 0, "FASTCCD", 0)
  72. dbLoadRecords("NDFileHDF5.template",  "P=ALS:701:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  73. # Create a Magick file saving plugin
  74. #NDFileMagickConfigure("FileMagick1", $(QSIZE), 0, "$(PORT)", 0)
  75. #dbLoadRecords("NDFileMagick.template","P=$(PREFIX),R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
  76. # Create 4 ROI plugins
  77. NDROIConfigure("ROI1", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  78. dbLoadRecords("NDROI.template",       "P=ALS:701:,R=ROI1:,  PORT=ROI1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  79. NDROIConfigure("ROI2", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  80. dbLoadRecords("NDROI.template",       "P=ALS:701:,R=ROI2:,  PORT=ROI2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  81. NDROIConfigure("ROI3", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  82. dbLoadRecords("NDROI.template",       "P=ALS:701:,R=ROI3:,  PORT=ROI3,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  83. NDROIConfigure("ROI4", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  84. dbLoadRecords("NDROI.template",       "P=ALS:701:,R=ROI4:,  PORT=ROI4,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  85. # Create 8 ROIStat plugins
  86. NDROIStatConfigure("ROISTAT1", 20, 0, "FASTCCD", 0, 8, 0, 0, 0, 0, 5)
  87. dbLoadRecords("NDROIStat.template",   "P=ALS:701:,R=ROIStat1:  ,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD,NCHANS=2048")
  88. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:1:,PORT=ROISTAT1,ADDR=0,TIMEOUT=1,NCHANS=2048")
  89. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:2:,PORT=ROISTAT1,ADDR=1,TIMEOUT=1,NCHANS=2048")
  90. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:3:,PORT=ROISTAT1,ADDR=2,TIMEOUT=1,NCHANS=2048")
  91. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:4:,PORT=ROISTAT1,ADDR=3,TIMEOUT=1,NCHANS=2048")
  92. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:5:,PORT=ROISTAT1,ADDR=4,TIMEOUT=1,NCHANS=2048")
  93. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:6:,PORT=ROISTAT1,ADDR=5,TIMEOUT=1,NCHANS=2048")
  94. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:7:,PORT=ROISTAT1,ADDR=6,TIMEOUT=1,NCHANS=2048")
  95. dbLoadRecords("NDROIStatN.template",  "P=ALS:701:,R=ROIStat1:8:,PORT=ROISTAT1,ADDR=7,TIMEOUT=1,NCHANS=2048")
  96. # Create a processing plugin
  97. NDProcessConfigure("PROC1", 20, 0, "FASTCCD", 0, 0, 0)
  98. dbLoadRecords("NDProcess.template",   "P=ALS:701:,R=Proc1:,  PORT=PROC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  99. # Create a scatter plugin
  100. NDScatterConfigure("SCATTER1", 20, 0, "FASTCCD", 0, 0, 0)
  101. dbLoadRecords("NDScatter.template",   "P=ALS:701:,R=Scatter1:,  PORT=SCATTER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  102. # Create a gather plugin with 8 ports
  103. NDGatherConfigure("GATHER1", 20, 0, 8, 0, 0)
  104. dbLoadRecords("NDGather.template",   "P=ALS:701:,R=Gather1:, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  105. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=1, PORT=GATHER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  106. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=2, PORT=GATHER1,ADDR=1,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  107. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=3, PORT=GATHER1,ADDR=2,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  108. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=4, PORT=GATHER1,ADDR=3,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  109. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=5, PORT=GATHER1,ADDR=4,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  110. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=6, PORT=GATHER1,ADDR=5,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  111. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=7, PORT=GATHER1,ADDR=6,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  112. dbLoadRecords("NDGatherN.template",   "P=ALS:701:,R=Gather1:, N=8, PORT=GATHER1,ADDR=7,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  113. # Create 5 statistics plugins
  114. NDStatsConfigure("STATS1", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  115. dbLoadRecords("NDStats.template",     "P=ALS:701:,R=Stats1:,  PORT=STATS1,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=2048,YSIZE=2048,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  116. NDStatsConfigure("STATS2", 20, 0, "ROI1",    0, 0, 0, 0, 0, 5)
  117. dbLoadRecords("NDStats.template",     "P=ALS:701:,R=Stats2:,  PORT=STATS2,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=2048,YSIZE=2048,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  118. NDStatsConfigure("STATS3", 20, 0, "ROI2",    0, 0, 0, 0, 0, 5)
  119. dbLoadRecords("NDStats.template",     "P=ALS:701:,R=Stats3:,  PORT=STATS3,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=2048,YSIZE=2048,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  120. NDStatsConfigure("STATS4", 20, 0, "ROI3",    0, 0, 0, 0, 0, 5)
  121. dbLoadRecords("NDStats.template",     "P=ALS:701:,R=Stats4:,  PORT=STATS4,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=2048,YSIZE=2048,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  122. NDStatsConfigure("STATS5", 20, 0, "ROI4",    0, 0, 0, 0, 0, 5)
  123. dbLoadRecords("NDStats.template",     "P=ALS:701:,R=Stats5:,  PORT=STATS5,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=2048,YSIZE=2048,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  124. # Create a transform plugin
  125. NDTransformConfigure("TRANS1", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  126. dbLoadRecords("NDTransform.template", "P=ALS:701:,R=Trans1:,  PORT=TRANS1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  127. # Create an overlay plugin with 8 overlays
  128. NDOverlayConfigure("OVER1", 20, 0, "FASTCCD", 0, 8, 0, 0, 0, 0, 5)
  129. dbLoadRecords("NDOverlay.template", "P=ALS:701:,R=Over1:, PORT=OVER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  130. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:1:,NAME=ROI1,   SHAPE=1,O=Over1:,XPOS=ALS:701:ROI1:MinX_RBV,YPOS=ALS:701:ROI1:MinY_RBV,XSIZE=ALS:701:ROI1:SizeX_RBV,YSIZE=ALS:701:ROI1:SizeY_RBV,PORT=OVER1,ADDR=0,TIMEOUT=1")
  131. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:2:,NAME=ROI2,   SHAPE=1,O=Over1:,XPOS=ALS:701:ROI2:MinX_RBV,YPOS=ALS:701:ROI2:MinY_RBV,XSIZE=ALS:701:ROI2:SizeX_RBV,YSIZE=ALS:701:ROI2:SizeY_RBV,PORT=OVER1,ADDR=1,TIMEOUT=1")
  132. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:3:,NAME=ROI3,   SHAPE=1,O=Over1:,XPOS=ALS:701:ROI3:MinX_RBV,YPOS=ALS:701:ROI3:MinY_RBV,XSIZE=ALS:701:ROI3:SizeX_RBV,YSIZE=ALS:701:ROI3:SizeY_RBV,PORT=OVER1,ADDR=2,TIMEOUT=1")
  133. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:4:,NAME=ROI4,   SHAPE=1,O=Over1:,XPOS=ALS:701:ROI4:MinX_RBV,YPOS=ALS:701:ROI4:MinY_RBV,XSIZE=ALS:701:ROI4:SizeX_RBV,YSIZE=ALS:701:ROI4:SizeY_RBV,PORT=OVER1,ADDR=3,TIMEOUT=1")
  134. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:5:,NAME=Cursor1,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=4,TIMEOUT=1")
  135. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:6:,NAME=Cursor2,SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=5,TIMEOUT=1")
  136. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:7:,NAME=Box1,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=6,TIMEOUT=1")
  137. dbLoadRecords("NDOverlayN.template","P=ALS:701:,R=Over1:8:,NAME=Box2,   SHAPE=1,O=Over1:,XPOS=junk,                  YPOS=junk,                  XSIZE=junk,                   YSIZE=junk,                   PORT=OVER1,ADDR=7,TIMEOUT=1")
  138. # Create 2 color conversion plugins
  139. NDColorConvertConfigure("CC1", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  140. dbLoadRecords("NDColorConvert.template", "P=ALS:701:,R=CC1:,  PORT=CC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  141. NDColorConvertConfigure("CC2", 20, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  142. dbLoadRecords("NDColorConvert.template", "P=ALS:701:,R=CC2:,  PORT=CC2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  143. # Create a circular buffer plugin
  144. NDCircularBuffConfigure("CB1", 20, 0, "FASTCCD", 0, 500, 0)
  145. dbLoadRecords("NDCircularBuff.template", "P=ALS:701:,R=CB1:,  PORT=CB1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=FASTCCD")
  146. # Create an NDAttribute plugin with 8 attributes
  147. NDAttrConfigure("ATTR1", 20, 0, "FASTCCD", 0, 8, 0, 0, 0)
  148. dbLoadRecords("NDAttribute.template",  "P=ALS:701:,R=Attr1:,    PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048,NDARRAY_PORT=FASTCCD")
  149. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:1:,  PORT=ATTR1,ADDR=0,TIMEOUT=1,NCHANS=2048")
  150. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:2:,  PORT=ATTR1,ADDR=1,TIMEOUT=1,NCHANS=2048")
  151. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:3:,  PORT=ATTR1,ADDR=2,TIMEOUT=1,NCHANS=2048")
  152. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:4:,  PORT=ATTR1,ADDR=3,TIMEOUT=1,NCHANS=2048")
  153. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:5:,  PORT=ATTR1,ADDR=4,TIMEOUT=1,NCHANS=2048")
  154. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:6:,  PORT=ATTR1,ADDR=5,TIMEOUT=1,NCHANS=2048")
  155. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:7:,  PORT=ATTR1,ADDR=6,TIMEOUT=1,NCHANS=2048")
  156. dbLoadRecords("NDAttributeN.template", "P=ALS:701:,R=Attr1:8:,  PORT=ATTR1,ADDR=7,TIMEOUT=1,NCHANS=2048")
  157. # Create an FFT plugin
  158. NDFFTConfigure("FFT1", 3, 0, "FASTCCD", 0, 0, 0, 0, 0, 5)
  159. dbLoadRecords("NDFFT.template", "P=ALS:701:, R=FFT1:, PORT=FFT1, ADDR=0, TIMEOUT=1, NDARRAY_PORT=FASTCCD, NAME=FFT1, NCHANS=2048")
  160. set_requestfile_path("./")
  161. set_requestfile_path("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore/ADApp/Db")
  162. set_requestfile_path("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore/iocBoot")
  163. set_savefile_path("./autosave")
  164. set_pass0_restoreFile("auto_settings.sav")
  165. set_pass1_restoreFile("auto_settings.sav")
  166. save_restoreSet_status_prefix("ALS:701:")
  167. dbLoadRecords("/usr/local/epics/R7.0.1.1/support/autosave/5-9/asApp/Db/save_restoreStatus.db", "P=ALS:701:")
  168. filename="../../../src/ioc/dbStatic/dbLexRoutines.c" line number=264
  169. No such file or directory dbRead opening file /usr/local/epics/R7.0.1.1/support/autosave/5-9/asApp/Db/save_restoreStatus.db
  170. # Optional: load NDPluginPva plugin
  171. #NDPvaConfigure("PVA1", $(QSIZE), 0, "$(PORT)", 0, $(PREFIX)Pva1:Image, 0, 0, 0)
  172. #dbLoadRecords("NDPva.template",  "P=$(PREFIX),R=Pva1:, PORT=PVA1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
  173. # Must start PVA server if this is enabled
  174. #startPVAServer
  175. # Optional: load NDPluginEdge plugin
  176. #NDEdgeConfigure("EDGE1", $(QSIZE), 0, "$(PORT)", 0, 0, 0, 0)
  177. #dbLoadRecords("NDEdge.template",  "P=$(PREFIX),R=Edge1:, PORT=EDGE1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
  178. #set_requestfile_path("$(ADPLUGINEDGE)/edgeApp/Db")
  179. # Optional: load scan records
  180. #dbLoadRecords("$(SSCAN)/sscanApp/Db/scan.db", "P=$(PREFIX),MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
  181. #set_requestfile_path("$(SSCAN)/sscanApp/Db")
  182. # Optional: load sseq record for acquisition sequence
  183. #dbLoadRecords("$(CALC)/calcApp/Db/sseqRecord.db", "P=$(PREFIX), S=AcquireSequence")
  184. #set_requestfile_path("$(CALC)/calcApp/Db")
  185. # Optional: load devIocStats records (requires DEVIOCSTATS module)
  186. #dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db", "IOC=$(PREFIX)")
  187. # Optional: load alive record (requires ALIVE module)
  188. #dbLoadRecords("$(ALIVE)/aliveApp/Db/alive.db", "P=$(PREFIX),RHOST=192.168.1.254")
  189. # Load the FastCCD Plugin
  190. NDFastCCDConfigure("FastCCD1", 20, 0, "PROC1", 0, 0, 0, 0, 0, 5)
  191. dbLoadRecords("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/../../db/NDFastCCD.template", "P=ALS:701:,R=FastCCD1:, PORT=FastCCD1, NDARRAY_PORT=FASTCCD, ADDR=0, TIMEOUT=1")
  192. set_requestfile_path("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/../../FastCCDApp/Db")
  193. set_requestfile_path("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/../../FastCCDPlugin/Db")
  194. set_requestfile_path("/usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADCore","ADApp/Db")
  195. iocInit()
  196. Starting iocInit
  197. ############################################################################
  198. ## EPICS R7.0.1.1
  199. ## EPICS Base built Nov  2 2018
  200. ############################################################################
  201. reboot_restore: entry for file 'auto_settings.sav'
  202. reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
  203. *** restoring from './autosave/auto_settings.sav' at initHookState 6 (before record/device init) ***
  204. reboot_restore: done with file 'auto_settings.sav'
  205.  
  206. reboot_restore: entry for file 'auto_settings.sav'
  207. reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
  208. *** restoring from './autosave/auto_settings.sav' at initHookState 7 (after record/device init) ***
  209. reboot_restore: done with file 'auto_settings.sav'
  210.  
  211. 2018/12/12 11:36:29.306 NDPluginDriver::connectToArrayPort Error calling pasynManager->connectDevice to array port FastCCDProc1 address 0, status=3, error=asynManager:connectDevice port FastCCDProc1 not found
  212. 2018/12/12 11:36:29.808 ALS:701:cam1:FirmwarePath_RBV devAsynOctet::readIt failed asynPortDriver:readOctet: status=3, function=92, name=FIRMWARE_PATH, value=
  213. 2018/12/12 11:36:29.808 ALS:701:cam1:BiasPath_RBV devAsynOctet::readIt failed asynPortDriver:readOctet: status=3, function=93, name=BIAS_PATH, value=
  214. 2018/12/12 11:36:29.808 ALS:701:cam1:ClockPath_RBV devAsynOctet::readIt failed asynPortDriver:readOctet: status=3, function=94, name=CLOCK_PATH, value=
  215. 2018/12/12 11:36:29.808 ALS:701:cam1:FCRICPath_RBV devAsynOctet::readIt failed asynPortDriver:readOctet: status=3, function=95, name=FCRIC_PATH, value=
  216. 0.000000, 0.256000
  217. 2018/12/12 11:36:30.312 NDPluginDriver::connectToArrayPort Error calling pasynManager->connectDevice to array port FastCCDProc1 address 0, status=3, error=asynManager:connectDevice port FastCCDProc1 not found            
  218. 2018/12/12 11:36:30.312 NDPluginDriver::writeInt32 ERROR, status=3, function=49, value=0, connectedToArrayPort_=0
  219. 2018/12/12 11:36:30.312 ALS:701:image1:NDArrayAddress devAsynInt32 process error      
  220. iocRun: All initialization complete                                                    
  221. # save things every thirty seconds                                                    
  222. create_monitor_set("auto_settings.req", 30,"P=ALS:701:,D=cam1:")                      
  223. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  224. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  225. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  226. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  227. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  228. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  229. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  230. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  231. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.              
  232. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  233. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  234. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  235. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  236. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  237. save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
  238. dbl > /usr/local/epics/R7.0.1.1/support/areadetector/3-2/ADFastCCD/iocs/FastCCDIOC/records.dbl
  239. dbl > ioc.dbl
  240. dbpf ALS:701:cam1:NDAttributesFile FastCCDDetectorAttributes.xml
  241. DBF_CHAR[30]:       "FastCCDDetectorAttributes.xml"        
  242. dbpf ALS:701:Stats1:NDAttributesFile StatsAttributes.xml
  243. save_restore: Can't connect to all status PV(s)
  244. auto_settings.sav: 1057 of 1057 PV's connected
  245. DBF_CHAR[20]:       "StatsAttributes.xml"        
  246. dbpf ALS:701:ROIStat1:NDAttributesFile ROIStatAttributes.xml
  247. DBF_CHAR[22]:       "ROIStatAttributes.xml"      
  248. epics> save_restore: Can't connect to status PV(s) for list 'auto_settings.sav'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement