This commit is contained in:
cvs
2000-04-07 07:09:42 +00:00
parent ff5e8cf0b2
commit b713ae4a93
15 changed files with 310 additions and 145 deletions

View File

@@ -15,14 +15,6 @@ pTecsClient TeccInit(char *server, int port);
/* init tecs client (connect to server)
------------------------------------------------------------------------*/
int TeccSetDev(pTecsClient conn, char *dev);
/* set device type
------------------------------------------------------------------------*/
char *TeccGetDev(pTecsClient conn);
/* get device type
------------------------------------------------------------------------*/
int TeccGet(pTecsClient conn, float *temp);
/* set temperature
------------------------------------------------------------------------*/
@@ -31,6 +23,18 @@ int TeccSet(pTecsClient conn, float temp);
/* get temperature
------------------------------------------------------------------------*/
char *TeccGetPar(pTecsClient conn, const char *name);
/* get any parameter from tecs
------------------------------------------------------------------------*/
int TeccSetPar(pTecsClient conn, const char *name, const char *value);
/* set any parameter of tecs
------------------------------------------------------------------------*/
int TeccWait(pTecsClient conn);
/* wait until the controller is configured
------------------------------------------------------------------------*/
int TeccSend(pTecsClient conn, char *cmd, char *reply, int replyLen);
/* send a command transparently to the controller
replyLen is the maximal length of reply