This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
devCalcoutSoft.c
Go to the documentation of this file.
1
/*************************************************************************\
2
* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
3
* National Laboratory.
4
* Copyright (c) 2002 The Regents of the University of California, as
5
* Operator of Los Alamos National Laboratory.
6
* EPICS BASE is distributed subject to a Software License Agreement found
7
* in file LICENSE that is included with this distribution.
8
\*************************************************************************/
9
/* devCalcoutSoft.c */
10
11
/*
12
* Author: Marty Kraimer
13
* Date: 05DEC2003
14
*/
15
16
#include <stdlib.h>
17
#include <stdio.h>
18
#include <string.h>
19
20
#include "alarm.h"
21
#include "
dbDefs.h
"
22
#include "dbAccess.h"
23
#include "recGbl.h"
24
#include "
recSup.h
"
25
#include "
devSup.h
"
26
#include "
link.h
"
27
#include "
special.h
"
28
#include "
postfix.h
"
29
#include "calcoutRecord.h"
30
#include "
epicsExport.h
"
31
32
static
long
write_calcout(calcoutRecord *
prec
);
33
34
calcoutdset
devCalcoutSoft
= {
35
{5,
NULL
,
NULL
,
NULL
, NULL},
36
write_calcout
37
};
38
epicsExportAddress
(
dset
,
devCalcoutSoft
);
39
40
static
long
write_calcout(calcoutRecord *
prec
)
41
{
42
return
dbPutLink(&prec->out,
DBR_DOUBLE
, &prec->oval, 1);
43
}
special.h
epicsExportAddress
epicsExportAddress(dset, devCalcoutSoft)
recSup.h
postfix.h
The API for the EPICS Calculation Engine.
NULL
#define NULL
Definition:
catime.c:38
dbDefs.h
Miscellaneous macro definitions.
devSup.h
Device support routines.
dset
Definition:
devSup.h:140
DBR_DOUBLE
#define DBR_DOUBLE
Definition:
db_access.h:76
devCalcoutSoft
calcoutdset devCalcoutSoft
Definition:
devCalcoutSoft.c:34
link.h
prec
int prec
Definition:
reader.c:29
epicsExport.h
Exporting IOC objects.
modules
database
src
std
dev
devCalcoutSoft.c
Generated by
1.8.11