Files
sics/site_ansto/hmcontrol_ansto.h
2014-05-16 17:23:44 +10:00

30 lines
925 B
C

/*------------------------------------------------------------------------
H M C O N T R O L _ A N S T O
A module creating a slightly modified HMControl object suitable for the
ANSTO HM. This works exactly the same as the existing HMControl, but
has extra options (e.g. pausing HM's at the end of a count instead of
stopping them).
copyright: see copyright.h
Mark Lesha, October 2006
-------------------------------------------------------------------------*/
#ifndef HMCONTROL_ANSTO_H_
#define HMCONTROL_ANSTO_H_
typedef struct
{
/* Data of the original HMControl object */
HMcontrol hmc;
/* Extra data for HMControl_ANSTO for extra functionality */
int Pause_HM_After_Count;
int Termination_Object;
} HMcontrol_ANSTO, *pHMcontrol_ANSTO;
int MakeHMControl_ANSTO(SConnection *pCon, SicsInterp *pSics,
void *pData, int argc, char *argv[]);
#endif /*HMCONTROL_ANSTO_H_*/