Files
sics/site_ansto/lh45.h
Ferdi Franceschini 81359a740f Added to repository.
r986 | ffr | 2006-05-09 09:17:15 +1000 (Tue, 09 May 2006) | 2 lines
2012-11-15 12:44:13 +11:00

50 lines
1.9 KiB
C

/*-------------------------------------------------------------------------
LH 45
Support for Julabo LH45 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)
copyright: see implementation file.
-----------------------------------------------------------------------------*/
#ifndef SICSLH45
#define SICSLH45
/*------------------------- The Driver ------------------------------------*/
pEVDriver CreateLH45Driver(int argc, char *argv[]);
int ConfigLH45(pEVDriver self);
int SetSensorLH45(pEVDriver self, int iSensor);
int SetControlLH45(pEVDriver self, int iSensor);
int GetSensorLH45(pEVDriver self);
int GetControlLH45(pEVDriver self);
/* Divisors and multipliers should not be applicable to the LH45
since it uses floating point variables, but we leave the functions
in here anyway for the time being (setting will have no effect and
a value of 1.0 will always be returned. */
int SetDivisorLH45(pEVDriver self, float iSensor);
float GetDivisorLH45(pEVDriver self);
int SetMultLH45(pEVDriver self, float iSensor);
float GetMultLH45(pEVDriver self);
/* Leave in time-out functionality */
int SetTMOLH45(pEVDriver self, int iSensor);
int GetTMOLH45(pEVDriver self);
/*------------------------- The LH45 object ------------------------------*/
int LH45Wrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int LH45SetPar(pEVControl self, char *name, float fNew,
SConnection *pCon);
int LH45GetPar(pEVControl self, char *name, float *fVal);
int LH45List(pEVControl self, SConnection *pCon);
#endif