Skip to content

Commit

Permalink
doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dohnarms committed Jun 28, 2018
1 parent d6af0af commit 084dd78
Showing 1 changed file with 29 additions and 13 deletions.
42 changes: 29 additions & 13 deletions documentation/MW100Doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,30 +173,46 @@ <h2><i>mw100_probe</i></h2>
generate automatically a substitutions
file <b>auto_mw100.substitutions</b> and an autosave
file <b>auto_mw100.req</b>.

The simplest way to load the database associated with a populated
MW100 is by using an autogenerated substitutions file. This is done
by running the <i>mw100_probe</i> program that is built from code
included with the module. It creates a substitutions file that can
The substitutions file that can
be loaded at boot time or flattened by <i>msi</i> into a database
file.
</p>

<p><b>not finished</b></p>
<p>
To use it, one needs values for: the IP address of the instrument;
the desired IOC PV prefix, <b>P</b>; the desired IOC PV
name, <b>DAU</b>; and the handle that will be given to the driver
for this instrument, <b>HANDLE</b>. The help can be seen by running
<i>mw100_probe</i> with no arguments.
</p>
<p>
The resultant substitutions file will have entries for all the
hardware channels, as well as all the constant channels and 60 (out
of 300) of both the calculation and communication channels. In the
future, an option will be added to changing the number of
communication and calculation channels included.
</p>

<h2>Database Loading</h2>

<p>
The simplest way to load the database associated with a populated
MW100 is by using the autogenerated substitutions file.
The simplest way to load databases associated with a populated MW100
is by using the autogenerated substitutions file
from <i>mw100_probe</i>.
</p>
<p>
The substitutions file references database file using a relative path
off of the <b>YOKOGAWA_DAS</b> variable, which needs to be set
This substitutions file references the
database files using a relative path off of the <b>YOKOGAWA_DAS</b>
variable, which needs to be set to the top of this module's
installed directory. The synApps distribution does this
automatically, but it can be done by hand by adding to the startup
script (such as st.cmd) before loading the substitutions file a line
like this:
<pre>epicsEnvSet("YOKOGAWA_DAS", "/my/path/to/YOKOGAWA_DAS")</pre>
</p>

<p><b>not finished</b></p>

<p>To load the substitutions file, in the startup script, use
<pre>dbLoadTemplate("auto_mw100.substitutions")</pre>
</p>

<h2>MEDM display files</h2>

Expand Down

0 comments on commit 084dd78

Please sign in to comment.