Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
120 | f9daq | 1 | //============================================================================== |
2 | // |
||
3 | // Title: MIKRO.h |
||
4 | // Purpose: Header file for MVP stage driver. |
||
5 | // |
||
6 | // Created on: 29.11.2014 at 20:51:03 by Samo Korpar. |
||
7 | // Copyright: . All Rights Reserved. |
||
8 | // |
||
9 | //============================================================================== |
||
10 | |||
11 | #ifndef __MIKRO_H__ |
||
12 | #define __MIKRO_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 | int _VI_FUNC MIKRO_Open (int port); |
||
37 | |||
38 | void _VI_FUNC MIKRO_Close (void); |
||
39 | |||
40 | int _VI_FUNC MIKRO_Reset (int node); |
||
41 | |||
42 | int _VI_FUNC MIKRO_Init (int node, int type); |
||
43 | |||
44 | int _VI_FUNC MIKRO_ReferenceMove (int node); |
||
45 | |||
46 | int _VI_FUNC MIKRO_MoveFor (int node, int dist); |
||
47 | |||
48 | int _VI_FUNC MIKRO_MoveTo (int node, int dest); |
||
49 | |||
50 | int _VI_FUNC MIKRO_GetPosition (int node, int *pos); |
||
51 | |||
52 | int _VI_FUNC MIKRO_SetZero (char axes); |
||
53 | |||
54 | int _VI_FUNC MIKRO_SetPlain (char axes); |
||
55 | |||
56 | #ifdef __cplusplus |
||
57 | } |
||
58 | #endif |
||
59 | |||
60 | #endif /* ndef __MIKRO_H__ */ |