Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

27
sps.h Normal file
View File

@@ -0,0 +1,27 @@
/*------------------------------------------------------------------------
S P S
A module to handle Siemens SPS controllers at SINQ. For more information
see sps.tex
Mark Koennecke, Juli 1998
----------------------------------------------------------------------------*/
#ifndef SICSSPS
#define SICSSPS
typedef struct __SPS *pSPS;
/*-------------------------------------------------------------------------*/
int SPSSetButton(pSPS self, SConnection *pCon, int iByte, int iBit);
int SPSGetStatus(pSPS self, int iStatus, int *iSet);
int SPSGetSANS(pSPS self, float *fVal);
int SPSGetADC(pSPS self, int iWhich, int *iValue);
void SPSAddPermission(pSPS self, int iByte, int iBit, int iRight);
/*------------------------------------------------------------------------*/
int SPSFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int SPSAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
#endif