CS: /home/csaba/DEVEL/cs-release-2.0/CSclient/CapsClientApi.h Source File

CS

- Main Page
- Files

- File List
- File Members

CapsClientApi.h
Go to the documentation of this file.
1 /***
2 *** CapsClientApi.h ---- Capacisense monitor client DLL API functions
3 *** Copyright (c), Tyco Thermal Systems, Ltd., 2009
4 *** Copyright (c), Engineering Design and Analysis Solutions, Inc., 2009
5 ***/
6 #ifndef __CAPSCLIENTAPI_H_INCLUDED__
7 #define __CAPSCLIENTAPI_H_INCLUDED__
8
16 #if defined(_NI_mswin32_)
17 #ifndef _MSC_VER
18 #define _MSC_VER
19 #endif
20 #ifndef _WIN32
21 #define _WIN32
22 #endif
23 #endif
24
25 #if defined(_WIN32) || defined(_WIN64)
26 #ifndef DLLEXPORT
27 #define DLLEXPORT __declspec(dllexport)
28 #endif
29 #ifndef STDCALL
30 #define STDCALL _stdcall
31 #endif
32 #else
33 #ifndef DLLEXPORT
34 #define DLLEXPORT
35 #endif
36 #ifndef STDCALL
37 #define STDCALL
38 #endif
39 #endif
40 #ifndef C_EXTERN
41 #ifdef __cplusplus
42 #define C_EXTERN extern "C"
43 #else
44 #define C_EXTERN extern
45 #endif
46 #endif
47
60 C_EXTERN unsigned long DLLEXPORT STDCALL CapsClientConnect(const char *host, double rate);
61
70 C_EXTERN unsigned long DLLEXPORT STDCALL CapsClientOpen(const char *name);
71
76 C_EXTERN void DLLEXPORT STDCALL CapsClientClose(unsigned long handle);
77
83 C_EXTERN int DLLEXPORT STDCALL CapsClientNumStages(unsigned long handle);
84
91 C_EXTERN int DLLEXPORT STDCALL CapsClientNumStageBlades(unsigned long handle, int stage);
92
99 C_EXTERN int DLLEXPORT STDCALL CapsClientNumStageProbes(unsigned long handle, int stage);
100
107 C_EXTERN double DLLEXPORT STDCALL CapsClientStageDiameter(unsigned long handle, int stage);
108
118 C_EXTERN void DLLEXPORT STDCALL CapsClientStageProbeLocations(unsigned long handle, int stage, int nangles, double angles[]);
119
127 C_EXTERN void DLLEXPORT STDCALL CapsClientStageName(unsigned long handle, int stage, char name[], int maxsize);
128
138 C_EXTERN void DLLEXPORT STDCALL CapsClientProbeName(unsigned long handle, int stage, int probe, char name[], int maxsize);
139
156 C_EXTERN unsigned long DLLEXPORT STDCALL CapsClientGetNextRev(unsigned long handle, double wait, int *error);
157
163 C_EXTERN unsigned long DLLEXPORT STDCALL CapsClientRevNumber(unsigned long rhandle);
164
171 C_EXTERN int DLLEXPORT STDCALL CapsClientRevSpeed(unsigned long rhandle, double *speed);
172
182 C_EXTERN double DLLEXPORT STDCALL CapsClientRevRmsClearance(unsigned long rhandle, int stage, int probe);
183
196 C_EXTERN void DLLEXPORT STDCALL CapsClientRevDnsClearance(unsigned long rhandle, int stage, int probe, int ndata, double data[]);
197
210 C_EXTERN void DLLEXPORT STDCALL CapsClientRevDeflection(unsigned long rhandle, int stage, int probe, int ndata, double data[]);
211
223 C_EXTERN int DLLEXPORT STDCALL CapsClientRevScopeData(unsigned long rhandle, int stage, int probe, float data[4096]);
224
239 C_EXTERN int DLLEXPORT STDCALL CapsClientRevProbeStatus(unsigned long rhandle, int stage, int probe, int *osc, int *gain, int *ac, int *filter, int *status, int *range);
240
241 #endif /* whole file */