Files
sics/site_ansto/motor_asim.h
Ferdi Franceschini 73d144340d Modified the ANSTO simulated motor driver so that it now accepts a list of named parameters, and supports the extra metadata parameters needed for generating hipadaba interfaces.
This means that ASIM motor drivers  can now be configured with the same configuration file as the DMC2280 driver.
Also ensured that motors drive instantly to there target position, this streamlines testing and is useful for the script validation server.

r1949 | ffr | 2007-05-10 13:15:21 +1000 (Thu, 10 May 2007) | 4 lines
2012-11-15 13:16:30 +11:00

13 lines
528 B
C

/*--------------------------------------------------------------------------
* motor_asim.h
Header file for ANSTO Simulation Motor
Based on SINQ "modriv.h" for EL734 motor driver by Mark Koennecke 1996
Modifications Paul Hathaway April 2004
Copyright: see implementation file
---------------------------------------------------------------------------*/
MotorDriver *CreateASIM(SConnection *pCon, char *motor, char *params);
int SimAction(SConnection *pCon, SicsInterp *pSics, void *pData, int argc, char *argv[]);