50 lines
1.8 KiB
C
50 lines
1.8 KiB
C
/*-------------------------------------------------------------------------
|
|
NHQ 200
|
|
|
|
Support for NHQ 200 Voltage 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)
|
|
Douglas Clowes, December 2006 (based on LAKESHORE340 code)
|
|
|
|
copyright: see implementation file.
|
|
|
|
-----------------------------------------------------------------------------*/
|
|
#ifndef SICSNHQ200
|
|
#define SICSNHQ200
|
|
/*------------------------- The Driver ------------------------------------*/
|
|
|
|
pEVDriver CreateNHQ200Driver(int argc, char *argv[]);
|
|
int ConfigNHQ200(pEVDriver self);
|
|
int SetSensorNHQ200(pEVDriver self, int iSensor);
|
|
int SetControlNHQ200(pEVDriver self, int iSensor);
|
|
int GetSensorNHQ200(pEVDriver self);
|
|
int GetControlNHQ200(pEVDriver self);
|
|
/* Divisors and multipliers should not be applicable to the NHQ200
|
|
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 SetDivisorNHQ200(pEVDriver self, float iSensor);
|
|
float GetDivisorNHQ200(pEVDriver self);
|
|
int SetMultNHQ200(pEVDriver self, float iSensor);
|
|
float GetMultNHQ200(pEVDriver self);
|
|
/* Leave in time-out functionality */
|
|
int SetTMONHQ200(pEVDriver self, int iSensor);
|
|
int GetTMONHQ200(pEVDriver self);
|
|
|
|
|
|
/*------------------------- The NHQ200 object ------------------------------*/
|
|
|
|
int NHQ200Wrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
int NHQ200SetPar(pEVControl self, char *name, float fNew,
|
|
SConnection *pCon);
|
|
int NHQ200GetPar(pEVControl self, char *name, float *fVal);
|
|
int NHQ200List(pEVControl self, SConnection *pCon);
|
|
|
|
|
|
#endif
|
|
|