50 lines
1.9 KiB
C
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
|
|
|