Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
369 | f9daq | 1 | //============================================================================== |
2 | // |
||
3 | // Title: ThorlabsLTS.h |
||
4 | // Purpose: Header file |
||
5 | // |
||
6 | // Created on: 29.11.2014 at 20:51:03 by Samo Korpar. |
||
7 | // Copyright: . All Rights Reserved. |
||
8 | // |
||
9 | //============================================================================== |
||
10 | |||
11 | #ifndef __ThorlabsLTS_H__ |
||
12 | #define __ThorlabsLTS_H__ |
||
13 | |||
14 | #ifdef __cplusplus |
||
15 | extern "C" { |
||
16 | #endif |
||
17 | |||
18 | //============================================================================== |
||
19 | // Include files |
||
20 | |||
21 | #include <cvidef.h> |
||
22 | #include <ivi.h> |
||
23 | |||
24 | //============================================================================== |
||
25 | // Constants |
||
26 | |||
27 | //============================================================================== |
||
28 | // Types |
||
29 | |||
30 | //============================================================================== |
||
31 | // External variables |
||
32 | |||
33 | //============================================================================== |
||
34 | // Global functions |
||
35 | |||
36 | |||
37 | /* |
||
38 | int CVICALLBACK LTS_Timeout (int , int , int , void *, int , int ) ; |
||
39 | void LTS_Tmlnk (int); |
||
40 | void LTS_Tmulk (void); |
||
41 | void LTS_waitMove(int , int ); |
||
42 | void LTS_waitHome(int , int ); |
||
43 | int LTS_Init(int); |
||
44 | */ |
||
45 | |||
46 | |||
47 | int LTS_Open(); |
||
48 | |||
49 | void LTS_Close(int); |
||
50 | |||
51 | void LTS_Home(int, int); |
||
52 | |||
53 | void LTS_StopProfiled(int); |
||
54 | |||
55 | void LTS_MoveAbsolute(int, double, int); |
||
56 | |||
57 | void LTS_MoveRelative(int, double, int); |
||
58 | |||
59 | double LTS_GetPosition(int); |
||
60 | |||
61 | unsigned int LTS_GetStatus(int i); |
||
62 | |||
63 | int LTS_Enable(int ); |
||
64 | |||
65 | int LTS_Disable(int ); |
||
66 | |||
67 | int LTS_GetNumberPositions(int ); |
||
68 | |||
69 | |||
70 | void LTS_RegisterMessageCallback(int , void (* )()); |
||
71 | |||
72 | /* |
||
73 | void LTS_GetRealValueFromDeviceUnit(int , int , double *, int ); |
||
74 | |||
75 | void LTS_GetDeviceUnitFromRealValue(int , double , int *, int ); |
||
76 | |||
77 | void LTS_waitHome(int , int ); |
||
78 | |||
79 | void LTS_waitMove(int , int ); |
||
80 | |||
81 | void LTS_SetStatus(int ); |
||
82 | |||
83 | void CVICALLBACK EndOfThread ( CmtThreadPoolHandle , |
||
84 | CmtThreadFunctionID , unsigned int , |
||
85 | int , void *); |
||
86 | |||
87 | int CVICALLBACK daq(void *); |
||
88 | |||
89 | void MessageCB(); |
||
90 | |||
91 | int CVICALLBACK TimerCB (int , int , int , void *, int , int ); |
||
92 | */ |
||
93 | |||
94 | #ifdef __cplusplus |
||
95 | } |
||
96 | #endif |
||
97 | |||
98 | #endif /* ndef __ThorlabsLTS_H__ */ |