@@ -126,33 +126,33 @@ Now run the IOC:
126
126
You should see an iocShell prompt and no error messages above.
127
127
128
128
Let us also make sure we can see the simulation images that the IOC is
129
- producing. For this we need the ``cd2v `` tool that we used earlier. You
129
+ producing. For this we need the ``c2dv `` tool that we used earlier. You
130
130
can use the same virtual environment that you created earlier, or create
131
131
a new one and install again. Note that these commands are to be run
132
132
in a terminal outside of the developer container.
133
133
134
134
.. code-block :: console
135
135
136
- python3 -m venv cd2v
137
- source ~/cd2v /bin/activate
136
+ python3 -m venv c2dv
137
+ source ~/c2dv /bin/activate
138
138
pip install c2dataviewer
139
139
140
- Run the ``cd2v `` tool and connect it to our IOCs PVA output:
140
+ Run the ``c2dv `` tool and connect it to our IOCs PVA output:
141
141
142
142
.. code-block :: console
143
143
144
- cd2v --pv BL01T-EA-TST-02 :PVA:OUTPUT &
144
+ c2dv --pv BL01T-EA-TST-03 :PVA:OUTPUT &
145
145
146
146
147
147
Back inside the developer container, you can now start the detector and
148
148
the PVA plugin, by opening a new terminal and running the following:
149
149
150
150
.. code-block :: console
151
151
152
- caput BL01T-EA-TST-02 :PVA:EnableCallbacks 1
153
- caput BL01T-EA-TST-02 :CAM:Acquire 1
152
+ caput BL01T-EA-TST-03 :PVA:EnableCallbacks 1
153
+ caput BL01T-EA-TST-03 :CAM:Acquire 1
154
154
155
- You should see the moving image in the ``cd2v `` window. We now have a working
155
+ You should see the moving image in the ``c2dv `` window. We now have a working
156
156
IOC instance that we can use to test our changes.
157
157
158
158
Making a change to the Generic IOC
@@ -168,8 +168,8 @@ YAML file. We will change the startup script that it generates so that the
168
168
simulation detector is automatically started when the IOC starts.
169
169
170
170
To make this change we just need to have the startup script set the values
171
- of the records ``BL01T-EA-TST-02 :CAM:Acquire `` and
172
- ``BL01T-EA-TST-02 :PVA:EnableCallbacks `` to 1.
171
+ of the records ``BL01T-EA-TST-03 :CAM:Acquire `` and
172
+ ``BL01T-EA-TST-03 :PVA:EnableCallbacks `` to 1.
173
173
174
174
To make this change, open the file
175
175
``ibek-support/ADSimDetector/ADSimDetector.ibek.support.yaml ``
@@ -199,13 +199,13 @@ following output at the end of the startup log:
199
199
200
200
.. code-block :: console
201
201
202
- dbpf BL01T-EA-TST-02 :CAM:Acquire 1
202
+ dbpf BL01T-EA-TST-03 :CAM:Acquire 1
203
203
DBF_STRING: "Acquire"
204
- dbpf BL01T-EA-TST-02 :PVA:EnableCallbacks 1
204
+ dbpf BL01T-EA-TST-03 :PVA:EnableCallbacks 1
205
205
DBF_STRING: "Enable"
206
206
epics>
207
207
208
- You should also see the ``cd2v `` window update with the moving image again.
208
+ You should also see the ``c2dv `` window update with the moving image again.
209
209
210
210
If you wanted to publish these changes you would have to commit both the
211
211
``ibek-support `` submodule and the ``ioc-adsimdetector `` repository and push
@@ -234,11 +234,11 @@ Add the following to
234
234
.. code-block :: yaml
235
235
236
236
- type : epics.dbpf
237
- pv : BL01T-EA-TST-02 :CAM:Acquire
237
+ pv : BL01T-EA-TST-03 :CAM:Acquire
238
238
value : " 1"
239
239
240
240
- type : epics.dbpf
241
- pv : BL01T-EA-TST-02 :PVA:EnableCallbacks
241
+ pv : BL01T-EA-TST-03 :PVA:EnableCallbacks
242
242
value : " 1"
243
243
244
244
Now restart the IOC and you should see the same behaviour as before. Here
0 commit comments