Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
255 | 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 __uSMC_H__ |
||
12 | #define __uSMC_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 uSMC_Open (void); |
||
37 | |||
38 | int _VI_FUNC uSMC_FindSerial (char serial[]); |
||
39 | |||
40 | int _VI_FUNC uSMC_Reset (int node); |
||
41 | |||
42 | int _VI_FUNC uSMC_Init (int node, int type); |
||
43 | |||
44 | int _VI_FUNC uSMC_PowerOn (int node); |
||
45 | |||
46 | int _VI_FUNC uSMC_PowerOff (int node); |
||
47 | |||
48 | int _VI_FUNC uSMC_ReferenceMove (int node); |
||
49 | |||
50 | int _VI_FUNC uSMC_MoveFor (int node, int dist); |
||
51 | |||
52 | int _VI_FUNC uSMC_MoveTo (int node, int dest); |
||
53 | |||
54 | int _VI_FUNC uSMC_GetPosition (int node, int *pos); |
||
55 | |||
56 | void _VI_FUNC uSMC_Close (void); |
||
57 | |||
58 | #ifdef __cplusplus |
||
59 | } |
||
60 | #endif |
||
61 | |||
62 | #endif /* ndef __uSMC_H__ */ |