Skip to content

Commit 043a022

Browse files
authored
Merge pull request #78 from epics-containers/2024-rework
fix typos in ioc_changes2
2 parents f961bfb + f2e54df commit 043a022

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/user/tutorials/ioc_changes2.rst

+15-15
Original file line numberDiff line numberDiff line change
@@ -126,33 +126,33 @@ Now run the IOC:
126126
You should see an iocShell prompt and no error messages above.
127127

128128
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
130130
can use the same virtual environment that you created earlier, or create
131131
a new one and install again. Note that these commands are to be run
132132
in a terminal outside of the developer container.
133133

134134
.. code-block:: console
135135
136-
python3 -m venv cd2v
137-
source ~/cd2v/bin/activate
136+
python3 -m venv c2dv
137+
source ~/c2dv/bin/activate
138138
pip install c2dataviewer
139139
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:
141141

142142
.. code-block:: console
143143
144-
cd2v --pv BL01T-EA-TST-02:PVA:OUTPUT &
144+
c2dv --pv BL01T-EA-TST-03:PVA:OUTPUT &
145145
146146
147147
Back inside the developer container, you can now start the detector and
148148
the PVA plugin, by opening a new terminal and running the following:
149149

150150
.. code-block:: console
151151
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
154154
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
156156
IOC instance that we can use to test our changes.
157157

158158
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
168168
simulation detector is automatically started when the IOC starts.
169169

170170
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.
173173

174174
To make this change, open the file
175175
``ibek-support/ADSimDetector/ADSimDetector.ibek.support.yaml``
@@ -199,13 +199,13 @@ following output at the end of the startup log:
199199

200200
.. code-block:: console
201201
202-
dbpf BL01T-EA-TST-02:CAM:Acquire 1
202+
dbpf BL01T-EA-TST-03:CAM:Acquire 1
203203
DBF_STRING: "Acquire"
204-
dbpf BL01T-EA-TST-02:PVA:EnableCallbacks 1
204+
dbpf BL01T-EA-TST-03:PVA:EnableCallbacks 1
205205
DBF_STRING: "Enable"
206206
epics>
207207
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.
209209

210210
If you wanted to publish these changes you would have to commit both the
211211
``ibek-support`` submodule and the ``ioc-adsimdetector`` repository and push
@@ -234,11 +234,11 @@ Add the following to
234234
.. code-block:: yaml
235235
236236
- type: epics.dbpf
237-
pv: BL01T-EA-TST-02:CAM:Acquire
237+
pv: BL01T-EA-TST-03:CAM:Acquire
238238
value: "1"
239239
240240
- type: epics.dbpf
241-
pv: BL01T-EA-TST-02:PVA:EnableCallbacks
241+
pv: BL01T-EA-TST-03:PVA:EnableCallbacks
242242
value: "1"
243243
244244
Now restart the IOC and you should see the same behaviour as before. Here

0 commit comments

Comments
 (0)