moved include from base/include; .ascii => .db

This commit is contained in:
Marty Kraimer
1996-01-25 21:07:08 +00:00
parent fcf601fbf1
commit 795b9645c9
5 changed files with 51 additions and 5 deletions
+1
View File
@@ -3,6 +3,7 @@ include Target.include
include $(EPICS)/config/CONFIG_BASE
INC += cvtTable.h
SRCS.c = ../makeBpt
OBJS = makeBpt
+4 -4
View File
@@ -7,10 +7,10 @@ VX_WARN_YES = -Wall -pedantic
MENUS += menuConvert.h
BPTS += bptTypeJdegC.ascii
BPTS += bptTypeJdegF.ascii
BPTS += bptTypeKdegC.ascii
BPTS += bptTypeKdegF.ascii
BPTS += bptTypeJdegC.db
BPTS += bptTypeJdegF.db
BPTS += bptTypeKdegC.db
BPTS += bptTypeKdegF.db
SRCS.c = \
+45
View File
@@ -0,0 +1,45 @@
/* $Id$
* Breakpoint Tables
*
* Author: Marty Kraimer
* Date: 11-7-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 05-18-92 rcz removed extern
* .02 05-18-92 rcz new database access
* .03 08-19-92 jba add prototypes for cvtRawToEngBpt,cvtEngToRawBpt
*/
#ifndef INCcvtTableh
#define INCcvtTableh 1
/* Global Routines*/
long cvtEngToRawBpt(double *pval,short linr,short init,
void **ppbrk,short *plbrk);
long cvtRawToEngBpt(double *pval,short linr,short init,
void **ppbrk, short *plbrk);
#endif
+1 -1
View File
@@ -118,7 +118,7 @@ int main(argc, argv)
fprintf(stderr,"Input file MUST have .data extension\n");
exit(-1);
}
strcpy(pext,".ascii");
strcpy(pext,".db");
inFile = fopen(argv[1],"r");
if(!inFile) {
fprintf(stderr,"Error opening %s\n",argv[1]);