-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeIDSToolsDLL.h
28 lines (21 loc) · 870 Bytes
/
meIDSToolsDLL.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _MEIDSTOOLSDLL_H_
#define _MEIDSTOOLSDLL_H_
// Error codes
#define MEIDS_TOOLS_ERRNO_SUCCESS 0
#define MEIDS_TOOLS_ERRNO_WAVEGEN_SIGNAL_OUT_OF_RANGE 10001
#define MEIDS_TOOLS_ERRNO_WAVEGEN_FREQUENCY_OUT_OF_RANGE 10002
// Signal forms for the function meIDSToolsWaveGen - Parameter iShape
#define MEIDS_TOOLS_WAVEGEN_SHAPE_RECTANGLE 0x10010001
#define MEIDS_TOOLS_WAVEGEN_SHAPE_TRIANGLE 0x10010002
#define MEIDS_TOOLS_WAVEGEN_SHAPE_SINUS 0x10010003
#define MEIDS_TOOLS_WAVEGEN_SHAPE_COSINUS 0x10010004
#define MEIDS_TOOLS_WAVEGEN_SHAPE_POS_RAMP 0x10010005
#define MEIDS_TOOLS_WAVEGEN_SHAPE_NEG_RAMP 0x10010006
#ifdef __cplusplus
extern "C" {
#endif
int meIDSToolsWaveGen(int iDevice, int iSubdevice, int iUnit, int iShape, double dAmplitude, double dOffset, double* pdFrequency);
#ifdef __cplusplus
}
#endif
#endif