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

42 lines
1.7 KiB
C

/*-------------------------------------------------------------------------
W E S T 4 1 0 0
Support for Lakeshore 340 Temperature controllers for SICS.
The meaning and working of the functions defined is as desribed for a
general environment controller.
Mark Koennecke, Juli 1997
Mark Lesha, January 2006 (based on ITC4 code)
Paul Barron, January 2008 (Note: This is based on the old LAKESHORE340 code and
not the new LS340 code written by Rodney Davies Feb 08)
copyright: see implementation file.
-----------------------------------------------------------------------------*/
#ifndef SICSWEST4100
#define SICSWEST4100
/*------------------------- The Driver ------------------------------------*/
pEVDriver CreateWEST4100Driver(int argc, char *argv[]);
int ConfigWEST4100(pEVDriver self);
int SetSensorWEST4100(pEVDriver self, int iSensor);
int SetControlWEST4100(pEVDriver self, int iSensor);
int GetSensorWEST4100(pEVDriver self);
int GetControlWEST4100(pEVDriver self);
int WEST4100Query(pEVDriver self, int parameterAddress, int *parameterValue); //PB
int WEST4100Write(pEVDriver self, int parameterAddress, int parameterValue); //PB
/*------------------------- The WEST4100 object ------------------------------*/
int WEST4100Wrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int WEST4100SetPar(pEVControl self, char *name, float fNew,
SConnection *pCon);
int WEST4100GetPar(pEVControl self, char *name, float *fVal);
int WEST4100List(pEVControl self, SConnection *pCon);
#endif