PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 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