|
| 1 | +# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2025.8.1/ibek.ioc.schema.json |
| 2 | + |
| 3 | +ioc_name: "{{ _global.get_env('IOC_NAME') }}" |
| 4 | +description: Example simulated camera for BL01T |
| 5 | + |
| 6 | +entities: |
| 7 | + - type: devIocStats.iocAdminSoft |
| 8 | + IOC: "{{ ioc_name | upper }}" |
| 9 | + |
| 10 | + - type: autosave.Autosave |
| 11 | + P: "BL01T-DI-DCAM-01:" |
| 12 | + |
| 13 | + - type: ADSimDetector.simDetector |
| 14 | + PORT: DET.DET |
| 15 | + P: BL01T-DI-DCAM-01 |
| 16 | + R: ":DET:" |
| 17 | + # DATATYPE:0 = Int8 - TODO add an enum to the support yaml |
| 18 | + DATATYPE: 0 |
| 19 | + WIDTH: 1024 |
| 20 | + HEIGHT: 1024 |
| 21 | + |
| 22 | + - type: epics.PostStartupCommand |
| 23 | + command: | |
| 24 | + dbpf BL01T-DI-DCAM-01:DET:AcquireTime 0.1 |
| 25 | + dbpf BL01T-DI-DCAM-01:ARR:EnableCallbacks 1 |
| 26 | + dbpf BL01T-DI-DCAM-01:PROC:EnableCallbacks 1 |
| 27 | + dbpf BL01T-DI-DCAM-01:ROI:EnableCallbacks 1 |
| 28 | + dbpf BL01T-DI-DCAM-01:PVA:EnableCallbacks 1 |
| 29 | + dbpf BL01T-DI-DCAM-01:DET:Acquire 1 |
| 30 | +
|
| 31 | + # - type: ffmpegServer.ffmpegStream |
| 32 | + # PORT: DET.MJP |
| 33 | + # P: BL01T-DI-DCAM-01 |
| 34 | + # R: ":MJP:" |
| 35 | + # NDARRAY_PORT: DET.DET |
| 36 | + |
| 37 | + - type: ADCore.NDROI |
| 38 | + PORT: DET.ROI |
| 39 | + P: BL01T-DI-DCAM-01 |
| 40 | + R: ":ROI:" |
| 41 | + NDARRAY_PORT: DET.DET |
| 42 | + |
| 43 | + - type: ADCore.NDProcess |
| 44 | + PORT: DET.PROC |
| 45 | + P: BL01T-DI-DCAM-01 |
| 46 | + R: ":PROC:" |
| 47 | + NDARRAY_PORT: DET.ROI |
| 48 | + |
| 49 | + - type: ADCore.NDPvxsPlugin |
| 50 | + PORT: DET.PVA |
| 51 | + PVNAME: BL01T-DI-DCAM-01:PVA:OUTPUT |
| 52 | + P: BL01T-DI-DCAM-01 |
| 53 | + R: ":PVA:" |
| 54 | + NDARRAY_PORT: DET.DET |
| 55 | + |
| 56 | + - type: ADCore.NDStdArrays |
| 57 | + PORT: DET.ARR |
| 58 | + P: BL01T-DI-DCAM-01 |
| 59 | + R: ":ARR:" |
| 60 | + NDARRAY_PORT: DET.PROC |
| 61 | + TYPE: Int8 |
| 62 | + NELEMENTS: 1048576 |
| 63 | + FTVL: UCHAR |
| 64 | + |
| 65 | + - type: ADCore.NDStats |
| 66 | + PORT: DET.STAT |
| 67 | + P: BL01T-DI-DCAM-01 |
| 68 | + R: ":STAT:" |
| 69 | + NDARRAY_PORT: DET.DET |
| 70 | + XSIZE: 1024 |
| 71 | + YSIZE: 1024 |
| 72 | + HIST_SIZE: 20 |
| 73 | + |
| 74 | + - type: ADCore.NDFileHDF5 |
| 75 | + PORT: DET.HDF |
| 76 | + P: BL01T-DI-DCAM-01 |
| 77 | + R: ":HDF5:" |
| 78 | + NDARRAY_PORT: DET.PROC |
| 79 | + |
| 80 | + - type: ADCore.NDFileTIFF |
| 81 | + PORT: DET.TIFF |
| 82 | + P: BL01T-DI-DCAM-01 |
| 83 | + R: ":TIFF:" |
| 84 | + NDARRAY_PORT: DET.PROC |
| 85 | + |
| 86 | + - type: ADCore.NDOverlay |
| 87 | + PORT: DET.OVER |
| 88 | + P: BL01T-EA-TST-02 |
| 89 | + R: ":OVER:" |
| 90 | + NDARRAY_PORT: DET.PROC |
| 91 | + NOverlays: 4 |
| 92 | + |
| 93 | + - type: ADCore.NDROIStat |
| 94 | + PORT: DET.ROISTAT |
| 95 | + P: BL01T-EA-TST-02 |
| 96 | + R: ":ROISTAT:" |
| 97 | + NDARRAY_PORT: DET.PROC |
| 98 | + MAX_ROIS: 4 |
| 99 | + |
| 100 | + - type: ADCore.NDFileNetCDF |
| 101 | + PORT: DET.CDF |
| 102 | + P: BL01T-DI-DCAM-01 |
| 103 | + R: ":NCDF:" |
| 104 | + NDARRAY_PORT: DET.DET |
0 commit comments