Mercurial > hg > fxanalyse
diff KKFX80E.h @ 89:c9e4f63c2033
Implement data acquisition through direct communication with the KK counter
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Thu, 21 Mar 2013 19:00:22 +0100 |
parents | |
children | 4f1f353e84f5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/KKFX80E.h Thu Mar 21 19:00:22 2013 +0100 @@ -0,0 +1,25 @@ +#ifndef __KKFX80E_H__ +#define __KKFX80E_H__ + +#ifdef __cplusplus + extern "C" { +#endif + +int FX_Init(void); +void FX_Free(void); +int FX_OpenPort(char **port); +void FX_ClosePort(void); +int FX_SendCommand(char **cmd); +int FX_GetReport(char **sep); +void FX_Debug(BOOL value); + +int FX_Open(char *port); +void FX_Close(void); +int FX_Send(char *cmd); +char * FX_Recv(char **data); + +#ifdef __cplusplus + } +#endif + +#endif /* ndef __KKFX80E_H__ */