forked from epics_driver_modules/motorBase
Removed AMCIRegister.{cc,h}. Fixes #65
This commit is contained in:
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
FILENAME... AMCIRegister.cc
|
||||
USAGE... Register AMCI motor device driver shell commands.
|
||||
|
||||
Version: $Revision: 1.4 $
|
||||
Modified By: $Author: sluiter $
|
||||
Last Modified: $Date: 2004-07-16 19:06:58 $
|
||||
*/
|
||||
|
||||
/*****************************************************************
|
||||
COPYRIGHT NOTIFICATION
|
||||
*****************************************************************
|
||||
|
||||
(C) COPYRIGHT 1993 UNIVERSITY OF CHICAGO
|
||||
|
||||
This software was developed under a United States Government license
|
||||
described on the COPYRIGHT_UniversityOfChicago file included as part
|
||||
of this distribution.
|
||||
**********************************************************************/
|
||||
|
||||
#include <iocsh.h>
|
||||
#include "AMCIRegister.h"
|
||||
#include "epicsExport.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
// AMCI ANG1 Setup arguments
|
||||
static const iocshArg setupArg0 = {"asyn port name", iocshArgString};
|
||||
static const iocshArg setupArg1 = {"Input port name", iocshArgString};
|
||||
static const iocshArg setupArg2 = {"Output port name", iocshArgString};
|
||||
static const iocshArg setupArg3 = {"Number of axes", iocshArgInt};
|
||||
static const iocshArg setupArg4 = {"Polling rate moving", iocshArgInt};
|
||||
static const iocshArg setupArg5 = {"Polling rate idle", iocshArgInt};
|
||||
|
||||
static const iocshArg * const ANG1SetupArgs[6] = {&setupArg0, &setupArg1, &setupArg2, &setupArg3, &setupArg4, &setupArg5};
|
||||
|
||||
static const iocshFuncDef setupANG1 = {"ANG1Setup", 6, ANG1SetupArgs};
|
||||
|
||||
static void setupANG1CallFunc(const iocshArgBuf *args)
|
||||
{
|
||||
ANG1Setup(args[0].sval, args[1].sval, args[2].sval, args[3].ival, args[4].ival, args[5].ival);
|
||||
}
|
||||
|
||||
static void AMCIRegister(void)
|
||||
{
|
||||
iocshRegister(&setupANG1, setupANG1CallFunc);
|
||||
}
|
||||
|
||||
epicsExportRegistrar(AMCIRegister);
|
||||
|
||||
} // extern "C"
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
FILENAME... AMCIRegister.h
|
||||
USAGE... This file contains function prototypes for AMCI IOC shell commands.
|
||||
|
||||
Version: $Revision: 1.3 $
|
||||
Modified By: $Author: sluiter $
|
||||
Last Modified: $Date: 2004-07-16 19:06:58 $
|
||||
*/
|
||||
|
||||
/*
|
||||
* Original Author: Ron Sluiter
|
||||
* Date: 05/19/03
|
||||
*
|
||||
* 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:
|
||||
* -----------------
|
||||
*/
|
||||
|
||||
#include "motor.h"
|
||||
#include "motordrvCom.h"
|
||||
|
||||
/* Function prototypes. */
|
||||
extern RTN_STATUS ANG1Setup(const char *, const char *, const char *, int, int, int);
|
||||
|
||||
@@ -10,8 +10,6 @@ include $(TOP)/configure/CONFIG
|
||||
|
||||
LIBRARY_IOC += AMCI
|
||||
|
||||
SRCS += AMCIRegister.cc
|
||||
|
||||
# motorRecord.h will be created from motorRecord.dbd
|
||||
# install devMotorSoft.dbd into <top>/dbd
|
||||
DBD += ANG1Support.dbd
|
||||
|
||||
Reference in New Issue
Block a user