Files
sics/site_ansto/hmcontrol_ansto.h
Mark Lesha ff576a4c68 MJL 21/11/06 Added ability to select termination object (can now terminate all when a HM terminates, not just counter).
r1307 | mle | 2006-11-21 09:56:19 +1100 (Tue, 21 Nov 2006) | 2 lines
2012-11-15 12:53:43 +11:00

30 lines
929 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_*/