Merge lp:~epics-documenters/epics-appdev/fix-nan-inf-updates into lp:~epics-documenters/epics-appdev/3.16

Proposed by Ralph Lange
Status: Merged
Merge reported by: Andrew Johnson
Merged at revision: not available
Proposed branch: lp:~epics-documenters/epics-appdev/fix-nan-inf-updates
Merge into: lp:~epics-documenters/epics-appdev/3.16
Diff against target: 34 lines (+20/-0)
1 file modified
tex/recordSupport.tex (+20/-0)
To merge this branch: bzr merge lp:~epics-documenters/epics-appdev/fix-nan-inf-updates
Reviewer Review Type Date Requested Status
EPICS Documentation Team Pending
Review via email: mp+228802@code.launchpad.net

Description of the change

recordSupport: add documentation for recGblCheckDeadband()

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tex/recordSupport.tex'
2--- tex/recordSupport.tex 2011-12-06 23:48:20 +0000
3+++ tex/recordSupport.tex 2014-07-30 09:07:56 +0000
4@@ -790,6 +790,10 @@
5 These routines are intended for use by the record specific processing routines but can be called by any routine that wishes to use their services.
6
7 The name of each of these routines begins with ``\verb|recGbl|".
8+Code using these routines should
9+\begin{verbatim}
10+#include <recGbl.h>
11+\end{verbatim}
12
13 \subsection{Alarm Status and Severity}
14
15@@ -961,3 +965,19 @@
16 \index{recGblInitConstantLink}Initialize a constant link.
17 This routine is usually called by \verb|init_record| (or by associated device support) to initialize the field associated with a constant link.
18 It returns(FALSE, TRUE) if it (did not, did) modify the destination.
19+
20+\subsection{Analog Value Deadband Check}
21+
22+\begin{verbatim}
23+recGblCheckDeadband(
24+ epicsFloat64 *poldval,
25+ const epicsFloat64 newval,
26+ const epicsFloat64 deadband,
27+ unsigned *monitor_mask,
28+ const unsigned add_mask);
29+\end{verbatim}
30+
31+\index{recGblCheckDeadband}Check if analog (double) value is outside specified deadband, and set bits in monitor mask.
32+This routine is usually called by an analog record's \verb|monitor| (as part of processing) to check if a value is outside a predefined deadband.
33+It also set bits in a monitor mask according to the check result.
34+If \verb|newval| lies outside the specified \verb|deadband|, \verb|newval| is copied into \verb|*poldval|, and \verb|add_mask| is OR'ed into \verb|monitor_mask|.

Subscribers

People subscribed via source and target branches

to all changes: