This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
devBoSoftRaw.c
Go to the documentation of this file.
1
/*************************************************************************\
2
* Copyright (c) 2002 The University of Chicago, 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 Versions 3.13.7
7
* and higher are distributed subject to a Software License Agreement found
8
* in file LICENSE that is included with this distribution.
9
\*************************************************************************/
10
11
/* devBoSoftRaw.c - Device Support Routines for SoftRaw Binary Output*/
12
/*
13
* Author: Janet Anderson
14
* Date: 3-28-92
15
*/
16
17
18
#include <stdlib.h>
19
#include <stdio.h>
20
#include <string.h>
21
22
#include "alarm.h"
23
#include "
dbDefs.h
"
24
#include "dbAccess.h"
25
#include "recGbl.h"
26
#include "
recSup.h
"
27
#include "
devSup.h
"
28
#include "boRecord.h"
29
#include "
epicsExport.h
"
30
31
/* Create the dset for devBoSoftRaw */
32
static
long
init_record
(dbCommon *pcommon);
33
static
long
write_bo(boRecord *
prec
);
34
35
bodset
devBoSoftRaw
= {
36
{5,
NULL
,
NULL
,
init_record
, NULL},
37
write_bo
38
};
39
epicsExportAddress
(
dset
,
devBoSoftRaw
);
40
41
static
long
init_record
(dbCommon *pcommon)
42
{
43
long
status
;
44
45
/*Don't convert*/
46
status = 2;
47
return
status
;
48
49
}
/* end init_record() */
50
51
static
long
write_bo(boRecord *
prec
)
52
{
53
long
status
;
54
55
status = dbPutLink(&prec->out,
DBR_LONG
, &prec->rval,1);
56
57
return
(status);
58
}
status
pvd::Status status
Definition:
sharedstate_pv.cpp:122
recSup.h
init_record
#define init_record
Definition:
permissiveRecord.c:39
NULL
#define NULL
Definition:
catime.c:38
dbDefs.h
Miscellaneous macro definitions.
devSup.h
Device support routines.
dset
Definition:
devSup.h:140
epicsExportAddress
epicsExportAddress(dset, devBoSoftRaw)
devBoSoftRaw
bodset devBoSoftRaw
Definition:
devBoSoftRaw.c:35
DBR_LONG
#define DBR_LONG
Definition:
db_access.h:75
prec
int prec
Definition:
reader.c:29
epicsExport.h
Exporting IOC objects.
modules
database
src
std
dev
devBoSoftRaw.c
Generated by
1.8.11