Files
sics/site_ansto/lakeshore340.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
2.0 KiB
C

/*-------------------------------------------------------------------------
LAKESHORE 340
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)
copyright: see implementation file.
-----------------------------------------------------------------------------*/
#ifndef SICSLAKESHORE340
#define SICSLAKESHORE340
/*------------------------- The Driver ------------------------------------*/
pEVDriver CreateLAKESHORE340Driver(int argc, char *argv[]);
int ConfigLAKESHORE340(pEVDriver self);
int SetSensorLAKESHORE340(pEVDriver self, int iSensor);
int SetControlLAKESHORE340(pEVDriver self, int iSensor);
int GetSensorLAKESHORE340(pEVDriver self);
int GetControlLAKESHORE340(pEVDriver self);
/* Divisors and multipliers should not be applicable to the LAKESHORE340
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 SetDivisorLAKESHORE340(pEVDriver self, float iSensor);
float GetDivisorLAKESHORE340(pEVDriver self);
int SetMultLAKESHORE340(pEVDriver self, float iSensor);
float GetMultLAKESHORE340(pEVDriver self);
/* Leave in time-out functionality */
int SetTMOLAKESHORE340(pEVDriver self, int iSensor);
int GetTMOLAKESHORE340(pEVDriver self);
/*------------------------- The LAKESHORE340 object ------------------------------*/
int LAKESHORE340Wrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int LAKESHORE340SetPar(pEVControl self, char *name, float fNew,
SConnection *pCon);
int LAKESHORE340GetPar(pEVControl self, char *name, float *fVal);
int LAKESHORE340List(pEVControl self, SConnection *pCon);
#endif