Skip to content

Commit eab5e58

Browse files
authored
Update Record-Simulation.md
Fixed typo
1 parent 112adb2 commit eab5e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/iocs/testing/Record-Simulation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Simulated values can either be a constant, or can be read/written to another PV
77

88
Though a simulated motor exists, it is probably still worth doing record simulation for e.g. jaws as it provides a convenient way to test GUIs without having to start additional IOCs
99

10-
The EPICS record has to initialise first before simulation mode is enabled internally, and this is where problems can occur. Some drivers will try to read a value from the hardware at record initialisation, and if this fails they leave the record in an error state that stops simulation mode working. If you see PACT is stuck at 1 this is typical of a failed record initialisation. You will wither need to fix the device driver, or avoid this record when using recsim.
10+
The EPICS record has to initialise first before simulation mode is enabled internally, and this is where problems can occur. Some drivers will try to read a value from the hardware at record initialisation, and if this fails they leave the record in an error state that stops simulation mode working. If you see PACT is stuck at 1 this is typical of a failed record initialisation. You will either need to fix the device driver, or avoid this record when using recsim.
1111

1212
There are several cases where recsim doesn't work properly (or not without significant extra work):
1313
- Records with `PINI="YES"` - initialisation runs before channel access is active which causes issues.
@@ -91,4 +91,4 @@ alias("$(P)SIM:CURRENT","$(P)SIM:CURRENT:SP:RBV")
9191

9292
To link the simulation to a record that is passively scanning you should add `field(FLNK, "<SOFT_CHANNEL_RECORD>")` to the simulation record.
9393

94-
For more information on fields in simulation records see [here](https://epics.anl.gov/base/R7-0/6-docs/dbCommonInput.html) for input records, or [here](https://epics.anl.gov/base/R7-0/6-docs/dbCommonOutput.html) for output records.
94+
For more information on fields in simulation records see [here](https://epics.anl.gov/base/R7-0/6-docs/dbCommonInput.html) for input records, or [here](https://epics.anl.gov/base/R7-0/6-docs/dbCommonOutput.html) for output records.

0 commit comments

Comments
 (0)