@@ -42,7 +42,7 @@ This should launch vscode and open the values.yaml file. Add the following:
42
42
43
43
.. code-block :: yaml
44
44
45
- image : ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.10.6b1
45
+ image : ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.10.7
46
46
47
47
This tells the IOC Instance to run in the ``ioc-adsimdetector-linux-runtime ``
48
48
container. This container was built by the Generic IOC source repo here
@@ -180,7 +180,7 @@ detector as follows:
180
180
181
181
.. code :: yaml
182
182
183
- # yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.6b1 /ibek.ioc.schema.json
183
+ # yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.7 /ibek.ioc.schema.json
184
184
185
185
ioc_name : bl01t-ea-ioc-02
186
186
description : Example simulated camera for BL01T
@@ -189,7 +189,7 @@ detector as follows:
189
189
190
190
- type : ADSimDetector.simDetector
191
191
PORT : DET.DET
192
- P : BL01T-EA-TST-01
192
+ P : BL01T-EA-TST-02
193
193
R : " :DET:"
194
194
195
195
.. note ::
@@ -205,7 +205,7 @@ detector as follows:
205
205
206
206
207
207
This will create us a simulation detector driver with PV prefix
208
- ``BL01T-EA-TST-01 :DET: `` that publishes its output on the Asyn port ``DET.DET ``.
208
+ ``BL01T-EA-TST-02 :DET: `` that publishes its output on the Asyn port ``DET.DET ``.
209
209
210
210
Note that the Generic IOC includes all of the support modules that are dependencies
211
211
of ``ADSimDetector `` and each of those contributes its own set of definitions in its
@@ -216,13 +216,13 @@ it to our simulation detector by adding this to our *IOC yaml* file:
216
216
217
217
- type : ADCore.NDPvaPlugin
218
218
PORT : DET.PVA
219
- PVNAME : BL01T-EA-TST-01 :PVA:OUTPUT
220
- P : BL01T-EA-TST-01
219
+ PVNAME : BL01T-EA-TST-02 :PVA:OUTPUT
220
+ P : BL01T-EA-TST-02
221
221
R : " :PVA:"
222
222
NDARRAY_PORT : DET.DET
223
223
224
224
This adds a PVA plugin to the IOC that will publish the output of the simulation
225
- detector over a PVAccess channel called ``BL01T-EA-TST-01 :PVA:OUTPUT ``. The
225
+ detector over a PVAccess channel called ``BL01T-EA-TST-02 :PVA:OUTPUT ``. The
226
226
*Support yaml * that declared that plugin came from the ADCore module. This is
227
227
a dependency of ADSimDetector and so is included in the Generic IOC container.
228
228
@@ -273,14 +273,14 @@ and launch it to view the IOC output:
273
273
.. code-block :: bash
274
274
275
275
pip install c2dataviewer
276
- c2dv --pv BL01T-EA-TST-01 :PVA:OUTPUT &
276
+ c2dv --pv BL01T-EA-TST-02 :PVA:OUTPUT &
277
277
278
278
Now we can start our simulation detector like this:
279
279
280
280
.. code-block :: bash
281
281
282
282
ec ioc exec bl01t-ea-ioc-02
283
- caput BL01T-EA-TST-01 :DET:Acquire 1
283
+ caput BL01T-EA-TST-02 :DET:Acquire 1
284
284
285
285
You should see a moving image appear in the ``c2dv `` window. For smoothest
286
286
results you may want to hit ``Auto `` in the ``Image and Zoom `` section of the
@@ -307,15 +307,15 @@ That is because every Generic IOC publishes an *IOC schema* that describes
307
307
the set of entities that an instance of that IOC may instantiate.
308
308
309
309
The Generic IOC we used was released at this location:
310
- https://github.com/epics-containers/ioc-adsimdetector/releases/tag/2023.10.6b1 .
310
+ https://github.com/epics-containers/ioc-adsimdetector/releases/tag/2023.10.7 .
311
311
This page includes the assets that are published as part of the release and
312
312
one of those is ``ibek.ioc.schema.json ``. This is the *IOC schema * for the
313
313
``ioc-adsimdetector `` Generic IOC. This is what we referred to at the top of
314
314
our *IOC yaml * file like this:
315
315
316
316
.. code :: yaml
317
317
318
- # yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.6b1 /ibek.ioc.schema.json
318
+ # yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.7 /ibek.ioc.schema.json
319
319
320
320
When editing with a YAML aware editor like VSCode this will enable auto
321
321
completion and validation of the *IOC yaml * file. To enable this in VSCode
0 commit comments