Skip to content

Commit 2edfdd4

Browse files
deploy: 4388c69
1 parent 4dba3da commit 2edfdd4

27 files changed

Lines changed: 101 additions & 59 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: af0eeeb8836e910c1ed972a7fd72a6a5
3+
config: 26d55bb3ceef6b30795ea534f7b46de6
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
864 Bytes
Binary file not shown.
3.93 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+10.g7babcde documentation</title>
6+
<title>epicsdbbuilder.recordbase &mdash; pythonSoftIOC 4.5.0+15.g4388c69 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+10.g7babcde documentation</title>
6+
<title>Overview: module code &mdash; pythonSoftIOC 4.5.0+15.g4388c69 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+10.g7babcde documentation</title>
6+
<title>softioc.asyncio_dispatcher &mdash; pythonSoftIOC 4.5.0+15.g4388c69 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: 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.builder &mdash; pythonSoftIOC 4.5.0+10.g7babcde documentation</title>
6+
<title>softioc.builder &mdash; pythonSoftIOC 4.5.0+15.g4388c69 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/device.html

Lines changed: 45 additions & 28 deletions
Large diffs are not rendered by default.

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+10.g7babcde documentation</title>
6+
<title>softioc.softioc &mdash; pythonSoftIOC 4.5.0+15.g4388c69 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: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,10 @@ starting the IOC.
454454
Alarm Value Definitions: `softioc.alarm`
455455
----------------------------------------
456456

457-
458457
The following values can be passed to IN record :meth:`~softioc.device.ProcessDeviceSupportIn.set` and
459-
:meth:`~softioc.device.ProcessDeviceSupportIn.set_alarm` methods.
458+
:meth:`~softioc.device.ProcessDeviceSupportIn.set_alarm` methods, and to OUT record
459+
:meth:`~softioc.device.ProcessDeviceSupportOut.set` and
460+
:meth:`~softioc.device.ProcessDeviceSupportOut.set_alarm`.
460461

461462
.. attribute::
462463
NO_ALARM = 0
@@ -549,7 +550,7 @@ class which provides the methods documented below.
549550
This class is used to implement Python device support for the record types
550551
``ai``, ``bi``, ``longin``, ``mbbi`` and IN ``waveform`` records.
551552

552-
.. method:: set(value, severity=NO_ALARM, alarm=UDF_ALARM, timestamp=None)
553+
.. method:: set(value, severity=NO_ALARM, alarm=NO_ALARM, timestamp=None)
553554

554555
Updates the stored value and severity status and triggers an update. If
555556
``SCAN`` has been set to ``'I/O Intr'`` (which is the default if the
@@ -608,14 +609,22 @@ Working with OUT records
608609
``ao``, ``bo``, ``longout``, ``mbbo`` and OUT ``waveform`` records. All OUT
609610
records support the following methods.
610611

611-
.. method:: set(value, process=True)
612+
.. method:: set(value, process=True, severity=NO_ALARM, alarm=NO_ALARM)
612613

613-
Updates the value associated with the record. By default this will
614+
Updates the stored value and severity status. By default this will
614615
trigger record processing, and so will cause any associated `on_update`
615616
and `validate` methods to be called. If ``process`` is `False`
616617
then neither of these methods will be called, but the value will still
617618
be updated.
618619

620+
.. method:: set_alarm(severity, alarm)
621+
622+
This is exactly equivalent to calling::
623+
624+
rec.set(rec.get(), severity=severity, alarm=alarm)
625+
626+
and triggers an alarm status change without changing the value.
627+
619628
.. method:: get()
620629

621630
Returns the value associated with the record.

0 commit comments

Comments
 (0)