added
This commit is contained in:
49
src/cvtDctsdr/test/generateAllAscii
Executable file
49
src/cvtDctsdr/test/generateAllAscii
Executable file
@@ -0,0 +1,49 @@
|
||||
#!/bin/sh
|
||||
BIN=../O.solaris
|
||||
H=/usr/local/epics/R3.12.2/base/rec
|
||||
/bin/rm *.db
|
||||
$BIN/sdr2gblmenu
|
||||
$BIN/sdr2recordtype dbCommon $H/dbCommon.h
|
||||
$BIN/sdr2recordtype ai $H/aiRecord.h
|
||||
$BIN/sdr2recordtype ao $H/aoRecord.h
|
||||
$BIN/sdr2recordtype aai $H/aaiRecord.h
|
||||
$BIN/sdr2recordtype aao $H/aaoRecord.h
|
||||
$BIN/sdr2recordtype bi $H/biRecord.h
|
||||
$BIN/sdr2recordtype bo $H/boRecord.h
|
||||
$BIN/sdr2recordtype calc $H/calcRecord.h
|
||||
$BIN/sdr2recordtype compress $H/compressRecord.h
|
||||
$BIN/sdr2recordtype dfanout $H/dfanoutRecord.h
|
||||
$BIN/sdr2recordtype eg $H/egRecord.h
|
||||
$BIN/sdr2recordtype egevent $H/egeventRecord.h
|
||||
$BIN/sdr2recordtype er $H/erRecord.h
|
||||
$BIN/sdr2recordtype erevent $H/ereventRecord.h
|
||||
$BIN/sdr2recordtype event $H/eventRecord.h
|
||||
$BIN/sdr2recordtype fanout $H/fanoutRecord.h
|
||||
$BIN/sdr2recordtype histogram $H/histogramRecord.h
|
||||
$BIN/sdr2recordtype longin $H/longinRecord.h
|
||||
$BIN/sdr2recordtype longout $H/longoutRecord.h
|
||||
$BIN/sdr2recordtype mbbiDirect $H/mbbiDirectRecord.h
|
||||
$BIN/sdr2recordtype mbbi $H/mbbiRecord.h
|
||||
$BIN/sdr2recordtype mbboDirect $H/mbboDirectRecord.h
|
||||
$BIN/sdr2recordtype mbbo $H/mbboRecord.h
|
||||
$BIN/sdr2recordtype permissive $H/permissiveRecord.h
|
||||
$BIN/sdr2recordtype pid $H/pidRecord.h
|
||||
$BIN/sdr2recordtype pulseCounter $H/pulseCounterRecord.h
|
||||
$BIN/sdr2recordtype pulseDelay $H/pulseDelayRecord.h
|
||||
$BIN/sdr2recordtype pulseTrain $H/pulseTrainRecord.h
|
||||
$BIN/sdr2recordtype scan $H/scanRecord.h
|
||||
$BIN/sdr2recordtype sel $H/selRecord.h
|
||||
$BIN/sdr2recordtype seq $H/seqRecord.h
|
||||
$BIN/sdr2recordtype state $H/stateRecord.h
|
||||
$BIN/sdr2recordtype steppermotor $H/steppermotorRecord.h
|
||||
$BIN/sdr2recordtype stringin $H/stringinRecord.h
|
||||
$BIN/sdr2recordtype stringout $H/stringoutRecord.h
|
||||
$BIN/sdr2recordtype subArray $H/subArrayRecord.h
|
||||
$BIN/sdr2recordtype sub $H/subRecord.h
|
||||
$BIN/sdr2recordtype gsub $H/gsubRecord.h
|
||||
$BIN/sdr2recordtype pal $H/palRecord.h
|
||||
$BIN/sdr2recordtype timer $H/timerRecord.h
|
||||
$BIN/sdr2recordtype wait $H/waitRecord.h
|
||||
$BIN/sdr2recordtype waveform $H/waveformRecord.h
|
||||
$BIN/sdr2device
|
||||
$BIN/sdr2driver
|
||||
25
src/db/Makefile.Unix
Normal file
25
src/db/Makefile.Unix
Normal file
@@ -0,0 +1,25 @@
|
||||
EPICS = ../../../..
|
||||
include Target.include
|
||||
include $(EPICS)/config/CONFIG_BASE
|
||||
|
||||
INC += drvTS.h
|
||||
INC += drvSup.h
|
||||
INC += callback.h
|
||||
INC += dbAccess.h
|
||||
INC += dbConvert.h
|
||||
INC += dbEvent.h
|
||||
INC += dbScan.h
|
||||
INC += db_access.h
|
||||
INC += db_addr.h
|
||||
INC += db_field_log.h
|
||||
INC += fast_lock.h
|
||||
INC += initHooks.h
|
||||
INC += recSup.h
|
||||
INC += devSup.h
|
||||
INC += task_params.h
|
||||
INC += taskwd.h
|
||||
INC += recGbl.h
|
||||
INC += dbBkpt.h
|
||||
INC += devLib.h
|
||||
|
||||
include $(EPICS)/config/RULES.Unix
|
||||
100
src/dbStatic/dbFldTypes.h
Normal file
100
src/dbStatic/dbFldTypes.h
Normal file
@@ -0,0 +1,100 @@
|
||||
/* $Id$
|
||||
*
|
||||
* Author: Marty Kraimer
|
||||
* Date: 6-1-90
|
||||
*
|
||||
* Experimental Physics and Industrial Control System (EPICS)
|
||||
*
|
||||
* Copyright 1991, the Regents of the University of California,
|
||||
* and the University of Chicago Board of Governors.
|
||||
*
|
||||
* This software was produced under U.S. Government contracts:
|
||||
* (W-7405-ENG-36) at the Los Alamos National Laboratory,
|
||||
* and (W-31-109-ENG-38) at Argonne National Laboratory.
|
||||
*
|
||||
* Initial development by:
|
||||
* The Controls and Automation Group (AT-8)
|
||||
* Ground Test Accelerator
|
||||
* Accelerator Technology Division
|
||||
* Los Alamos National Laboratory
|
||||
*
|
||||
* Co-developed with
|
||||
* The Controls and Computing Group
|
||||
* Accelerator Systems Division
|
||||
* Advanced Photon Source
|
||||
* Argonne National Laboratory
|
||||
*
|
||||
* Modification Log:
|
||||
* -----------------
|
||||
* .01 mm-dd-yy iii Comment
|
||||
*/
|
||||
#ifndef INCdbFldTypesh
|
||||
#define INCdbFldTypesh 1
|
||||
|
||||
/* field types */
|
||||
typedef enum {
|
||||
DBF_STRING,
|
||||
DBF_CHAR,
|
||||
DBF_UCHAR,
|
||||
DBF_SHORT,
|
||||
DBF_USHORT,
|
||||
DBF_LONG,
|
||||
DBF_ULONG,
|
||||
DBF_FLOAT,
|
||||
DBF_DOUBLE,
|
||||
DBF_ENUM,
|
||||
DBF_MENU,
|
||||
DBF_DEVICE,
|
||||
DBF_INLINK,
|
||||
DBF_OUTLINK,
|
||||
DBF_FWDLINK,
|
||||
DBF_NOACCESS
|
||||
}dbfType;
|
||||
#define DBF_NTYPES DBF_NOACCESS+1
|
||||
|
||||
typedef struct mapdbfType{
|
||||
char *strvalue;
|
||||
dbfType value;
|
||||
}mapdbfType;
|
||||
|
||||
#ifndef DBFLDTYPES_GBLSOURCE
|
||||
extern mapdbfType pamapdbfType[];
|
||||
#else
|
||||
mapdbfType pamapdbfType[DBF_NTYPES] = {
|
||||
{"DBF_STRING",DBF_STRING},
|
||||
{"DBF_CHAR",DBF_CHAR},
|
||||
{"DBF_UCHAR",DBF_UCHAR},
|
||||
{"DBF_SHORT",DBF_SHORT},
|
||||
{"DBF_USHORT",DBF_USHORT},
|
||||
{"DBF_LONG",DBF_LONG},
|
||||
{"DBF_ULONG",DBF_ULONG},
|
||||
{"DBF_FLOAT",DBF_FLOAT},
|
||||
{"DBF_DOUBLE",DBF_DOUBLE},
|
||||
{"DBF_ENUM",DBF_ENUM},
|
||||
{"DBF_MENU",DBF_MENU},
|
||||
{"DBF_DEVICE",DBF_DEVICE},
|
||||
{"DBF_INLINK",DBF_INLINK},
|
||||
{"DBF_OUTLINK",DBF_OUTLINK},
|
||||
{"DBF_FWDLINK",DBF_FWDLINK},
|
||||
{"DBF_NOACCESS",DBF_NOACCESS}
|
||||
};
|
||||
#endif /*DBFLDTYPES_GBLSOURCE*/
|
||||
|
||||
/* data request buffer types */
|
||||
#define DBR_STRING DBF_STRING
|
||||
#define DBR_CHAR DBF_CHAR
|
||||
#define DBR_UCHAR DBF_UCHAR
|
||||
#define DBR_SHORT DBF_SHORT
|
||||
#define DBR_USHORT DBF_USHORT
|
||||
#define DBR_LONG DBF_LONG
|
||||
#define DBR_ULONG DBF_ULONG
|
||||
#define DBR_FLOAT DBF_FLOAT
|
||||
#define DBR_DOUBLE DBF_DOUBLE
|
||||
#define DBR_ENUM DBF_ENUM
|
||||
#define DBR_PUT_ACKT DBR_ENUM+1
|
||||
#define DBR_PUT_ACKS DBR_PUT_ACKT+1
|
||||
#define DBR_NOACCESS DBF_NOACCESS
|
||||
#define VALID_DB_REQ(x) ((x >= 0) && (x <= DBR_ENUM))
|
||||
#define INVALID_DB_REQ(x) ((x < 0) || (x > DBR_ENUM))
|
||||
|
||||
#endif /*INCdbFldTypesh*/
|
||||
Reference in New Issue
Block a user