man3alm/libalm

Table of Contents

Name

libalm - interlock and numeric processing table manipulation

Description

libalm is a collection of functions for managing the interlock and numeric processing tables which make up part of an AccelNET database.

Interlock Processing

Numeric Processing

Interlock Tables Data Structures

These are the data structures used for the interlock tables.

typedef struct ChkPoint {
   struct ChkPoint *NxtPoint;

   LABEL *LabelPnt;

   DESC *DescPnt;

   short CPtype;

   short Offset;

   int RecId;

   double LimLo;

   double LimHi;

   unsigned Result;

} CHKPOINT;

typedef struct ChkAction {
   struct ChkAction *NxtAction;

   int RecId;

   unsigned Mask;

   unsigned Mask2;

   double Value;

} CHKACTION;

typedef struct ChkAlarm {
   struct ChkAlarm *NxtAlarm;

   int RecId;

   unsigned Mask;

   unsigned Mask2;

   char Message[AlmMsgSize];

} CHKALARM;

typedef struct ChkList {
   struct ChkList *NxtChkList;

   struct ChkPoint *FirstPoint;

   struct ChkAction *FirstAction;

   struct ChkAlarm *FirstAlarm;

   int RecId;

   LABEL *LabelPnt;

   DESC *DescPnt;

   double Value;

   int TMOvalue;

   int TMOcount;

   int Update;

} CHKLIST;

Numeric Processing Tables Data Structures

These are the data structures for the numeric processing tables.

typedef struct NumPoint {
   struct NumPoint *NxtPoint;

   LABEL *LabelPnt;

   DESC *DescPnt;

   short NPtype;

   int RecId;

   double Scale;

   double Value;

} NUMPOINT;

typedef struct NumList {
   struct NumList *NxtNumList;

   struct NumPoint *FirstPoint;

   int RecId;

   LABEL *LabelPnt;

   DESC *DescPnt;

   double Value;

   int Update;

} NUMLIST;

Functions

See necalmil.h for a list of the functions contained in the library. See the manual page for each function for a description and argument usage.

See Also

Notes

Yes, this manual page is inadequate.....

Manual page revision

$Id: libalm.3,v 1.0 2000/02/22 19:35:53 kitchen Exp $


Table of Contents