diff --git a/site_ansto/site_ansto.c b/site_ansto/site_ansto.c index 94506763..8cb5c27f 100644 --- a/site_ansto/site_ansto.c +++ b/site_ansto/site_ansto.c @@ -24,9 +24,12 @@ /* Added code for new LH45 and Lakeshore 340 drivers */ #include "lh45.h" #include "lakeshore340.h" -/* Added HTTP support for Histogram Server */ +/* Added HTTP support for ANSTO OPAL NBI Histogram Server */ #include "anstohttp.h" #include "anstoutil.h" +/* Added customized HMControl object to support ANSTO OPAL NBI Histogram Server */ +#include "hmcontrol.h" +#include "hmcontrol_ansto.h" // extends hmcontrol.h /*@observer@*//*@null@*/ pCounterDriver CreateMonCounter(/*@observer@*/SConnection *pCon, /*@observer@*/char *name, char *params); @@ -52,6 +55,7 @@ static void AddCommands(SicsInterp *pInter) (void) AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL); (void) AddCommand(pInter,"portnum",portNumCmd,NULL,NULL); // (void) AddCommand(pInter,"MakePLC",MakePLC,NULL,NULL); + AddCommand(pInter,"MakeHMControl_ANSTO",MakeHMControl_ANSTO,NULL,NULL); } /*---------------------------------------------------------------------*/ static void RemoveCommands(SicsInterp *pSics){