Skip to content

Commit c06dff9

Browse files
deploy: d38df9b
1 parent b372463 commit c06dff9

27 files changed

Lines changed: 79 additions & 38 deletions

master/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 4e0a4ccba2f80177962caaf61428b84f
3+
config: 75e6d36f2ea825f28067d43b8f7d9fc4
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
1.33 KB
Binary file not shown.
8.35 KB
Binary file not shown.

master/_modules/epicsdbbuilder/recordbase.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>epicsdbbuilder.recordbase &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>epicsdbbuilder.recordbase &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />

master/_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Overview: module code &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>Overview: module code &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../_static/theme_overrides.css" type="text/css" />

master/_modules/softioc/asyncio_dispatcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>softioc.asyncio_dispatcher &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>softioc.asyncio_dispatcher &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />

master/_modules/softioc/builder.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>softioc.builder &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>softioc.builder &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />
@@ -170,6 +170,17 @@ <h1>Source code for softioc.builder</h1><div class="highlight"><pre>
170170
<span class="n">_set_scalar_out_defaults</span><span class="p">(</span><span class="n">fields</span><span class="p">,</span> <span class="n">DRVL</span><span class="p">,</span> <span class="n">DRVH</span><span class="p">)</span>
171171
<span class="k">return</span> <span class="n">PythonDevice</span><span class="o">.</span><span class="n">longout</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">EGU</span> <span class="o">=</span> <span class="n">EGU</span><span class="p">,</span> <span class="o">**</span><span class="n">fields</span><span class="p">)</span></div>
172172

173+
<div class="viewcode-block" id="int64In"><a class="viewcode-back" href="../../reference/api.html#softioc.builder.int64In">[docs]</a><span class="k">def</span> <span class="nf">int64In</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">LOPR</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">HOPR</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">EGU</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">**</span><span class="n">fields</span><span class="p">):</span>
174+
<span class="n">_set_in_defaults</span><span class="p">(</span><span class="n">fields</span><span class="p">)</span>
175+
<span class="n">fields</span><span class="o">.</span><span class="n">setdefault</span><span class="p">(</span><span class="s1">&#39;MDEL&#39;</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">)</span>
176+
<span class="k">return</span> <span class="n">PythonDevice</span><span class="o">.</span><span class="n">int64in</span><span class="p">(</span>
177+
<span class="n">name</span><span class="p">,</span> <span class="n">LOPR</span> <span class="o">=</span> <span class="n">LOPR</span><span class="p">,</span> <span class="n">HOPR</span> <span class="o">=</span> <span class="n">HOPR</span><span class="p">,</span> <span class="n">EGU</span> <span class="o">=</span> <span class="n">EGU</span><span class="p">,</span> <span class="o">**</span><span class="n">fields</span><span class="p">)</span></div>
178+
179+
<div class="viewcode-block" id="int64Out"><a class="viewcode-back" href="../../reference/api.html#softioc.builder.int64Out">[docs]</a><span class="k">def</span> <span class="nf">int64Out</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">DRVL</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">DRVH</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">EGU</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">**</span><span class="n">fields</span><span class="p">):</span>
180+
<span class="n">_set_out_defaults</span><span class="p">(</span><span class="n">fields</span><span class="p">)</span>
181+
<span class="n">_set_scalar_out_defaults</span><span class="p">(</span><span class="n">fields</span><span class="p">,</span> <span class="n">DRVL</span><span class="p">,</span> <span class="n">DRVH</span><span class="p">)</span>
182+
<span class="k">return</span> <span class="n">PythonDevice</span><span class="o">.</span><span class="n">int64out</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">EGU</span> <span class="o">=</span> <span class="n">EGU</span><span class="p">,</span> <span class="o">**</span><span class="n">fields</span><span class="p">)</span></div>
183+
173184

174185
<span class="c1"># Field name prefixes for mbbi/mbbo records.</span>
175186
<span class="n">_mbbPrefixes</span> <span class="o">=</span> <span class="p">[</span>

master/_modules/softioc/device.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>softioc.device &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>softioc.device &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />
@@ -408,6 +408,8 @@ <h1>Source code for softioc.device</h1><div class="highlight"><pre>
408408

409409
<span class="n">longin</span> <span class="o">=</span> <span class="n">_Device_In</span><span class="p">(</span><span class="s1">&#39;longin&#39;</span><span class="p">,</span> <span class="n">c_int32</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_LONG</span><span class="p">,</span> <span class="n">EPICS_OK</span><span class="p">)</span>
410410
<span class="n">longout</span> <span class="o">=</span> <span class="n">_Device_Out</span><span class="p">(</span><span class="s1">&#39;longout&#39;</span><span class="p">,</span> <span class="n">c_int32</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_LONG</span><span class="p">,</span> <span class="n">EPICS_OK</span><span class="p">)</span>
411+
<span class="n">int64in</span> <span class="o">=</span> <span class="n">_Device_In</span><span class="p">(</span><span class="s1">&#39;int64in&#39;</span><span class="p">,</span> <span class="n">c_int64</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_INT64</span><span class="p">,</span> <span class="n">EPICS_OK</span><span class="p">)</span>
412+
<span class="n">int64out</span> <span class="o">=</span> <span class="n">_Device_Out</span><span class="p">(</span><span class="s1">&#39;int64out&#39;</span><span class="p">,</span> <span class="n">c_int64</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_INT64</span><span class="p">,</span> <span class="n">EPICS_OK</span><span class="p">)</span>
411413
<span class="n">bi</span> <span class="o">=</span> <span class="n">_Device_In</span><span class="p">(</span><span class="s1">&#39;bi&#39;</span><span class="p">,</span> <span class="n">c_uint16</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_CHAR</span><span class="p">,</span> <span class="n">NO_CONVERT</span><span class="p">)</span>
412414
<span class="n">bo</span> <span class="o">=</span> <span class="n">_Device_Out</span><span class="p">(</span><span class="s1">&#39;bo&#39;</span><span class="p">,</span> <span class="n">c_uint16</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_CHAR</span><span class="p">,</span> <span class="n">NO_CONVERT</span><span class="p">)</span>
413415
<span class="n">mbbi</span> <span class="o">=</span> <span class="n">_Device_In</span><span class="p">(</span><span class="s1">&#39;mbbi&#39;</span><span class="p">,</span> <span class="n">c_uint16</span><span class="p">,</span> <span class="n">fields</span><span class="o">.</span><span class="n">DBF_SHORT</span><span class="p">,</span> <span class="n">NO_CONVERT</span><span class="p">)</span>

master/_modules/softioc/softioc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>softioc.softioc &mdash; pythonSoftIOC 4.5.0+16.g4bbc933 documentation</title>
6+
<title>softioc.softioc &mdash; pythonSoftIOC 4.5.0+21.gd38df9b documentation</title>
77
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
88
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
99
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />

master/_sources/reference/api.rst.txt

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ and stderr streams, is sent directly to the terminal.
155155
but note that only the following records types have direct support from this
156156
module:
157157

158-
ai, ao, bi, bo, longin, longout, mbbi, mbbo, stringin, stringout, waveform
158+
ai, ao, bi, bo, int64in, int64out, longin, longout, mbbi, mbbo, stringin, stringout, waveform
159159

160160
The following methods create records of the corresponding type. For all records
161161
the `initial_value` parameter can be used to specify an initial value for the
@@ -285,6 +285,15 @@ All functions return a wrapped `ProcessDeviceSupportIn` or
285285
Create ``bi`` and ``bo`` records with the specified names for false (zero)
286286
and true (one).
287287

288+
.. function::
289+
int64In(name, LOPR=None, HOPR=None, EGU=None, **fields)
290+
int64Out(name, DRVL=None, DRVH=None, EGU=None, **fields)
291+
292+
Create ``int64In`` and ``int64Out`` records with specified limits and units.
293+
The lower and upper display limits for the record can be specified. For
294+
``int64Out`` records the ``LOPR`` and ``HOPR`` fields will be set by default
295+
to the values of the ``DRVL`` and ``DRVH`` fields respectively.
296+
288297
.. function::
289298
longIn(name, LOPR=None, HOPR=None, EGU=None, **fields)
290299
longOut(name, DRVL=None, DRVH=None, EGU=None, **fields)
@@ -532,15 +541,17 @@ Create IN records (used for publishing data *from* the IOC, the naming of the
532541
direction is confusing) using the following `softioc.builder` methods:
533542

534543
:func:`~softioc.builder.aIn`, :func:`~softioc.builder.boolIn`,
535-
:func:`~softioc.builder.longIn`, :func:`~softioc.builder.stringIn`,
536-
:func:`~softioc.builder.mbbIn`, :func:`~softioc.builder.WaveformIn`.
544+
:func:`~softioc.builder.int64In` :func:`~softioc.builder.longIn`,
545+
:func:`~softioc.builder.stringIn`, :func:`~softioc.builder.mbbIn`,
546+
:func:`~softioc.builder.WaveformIn`.
537547

538548
Create OUT records for receiving control information into the IOC using the
539549
following methods:
540550

541551
:func:`~softioc.builder.aOut`, :func:`~softioc.builder.boolOut`,
542-
:func:`~softioc.builder.longOut`, :func:`~softioc.builder.stringOut`,
543-
:func:`~softioc.builder.mbbOut`, :func:`~softioc.builder.WaveformOut`.
552+
:func:`~softioc.builder.int64Out`, :func:`~softioc.builder.longOut`,
553+
:func:`~softioc.builder.stringOut`, :func:`~softioc.builder.mbbOut`,
554+
:func:`~softioc.builder.WaveformOut`.
544555

545556
For all records the `initial_value` keyword argument can be used to specify the
546557
records value on startup.
@@ -554,7 +565,7 @@ class which provides the methods documented below.
554565
.. class:: ProcessDeviceSupportIn
555566

556567
This class is used to implement Python device support for the record types
557-
``ai``, ``bi``, ``longin``, ``mbbi`` and IN ``waveform`` records.
568+
``ai``, ``bi``, ``int64in``, ``longin``, ``mbbi`` and IN ``waveform`` records.
558569

559570
.. method:: set(value, severity=NO_ALARM, alarm=NO_ALARM, timestamp=None)
560571

@@ -612,7 +623,7 @@ Working with OUT records
612623
.. class:: ProcessDeviceSupportOut
613624

614625
This class is used to implement Python device support for the record types
615-
``ao``, ``bo``, ``longout``, ``mbbo`` and OUT ``waveform`` records. All OUT
626+
``ao``, ``bo``, ``int64out``, ``longout``, ``mbbo`` and OUT ``waveform`` records. All OUT
616627
records support the following methods.
617628

618629
.. method:: set(value, process=True, severity=NO_ALARM, alarm=NO_ALARM)

0 commit comments

Comments
 (0)