Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 254 | f9daq | 1 | //============================================================================== | 
        
| 2 | // | 
        ||
| 3 | // Title:               prologix.h | 
        ||
| 4 | // Purpose:             A short description of the interface. | 
        ||
| 5 | // | 
        ||
| 6 | // Created on:  29.11.2014 at 20:51:03 by korpar. | 
        ||
| 7 | // Copyright:   . All Rights Reserved. | 
        ||
| 8 | // | 
        ||
| 9 | //============================================================================== | 
        ||
| 10 | |||
| 11 | #ifndef __prologix_H__ | 
        ||
| 12 | #define __prologix_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 PROLOGIX_Open (int port);  | 
        ||
| 37 | |||
| 38 | int _VI_FUNC PROLOGIX_Send (char command[]);  | 
        ||
| 39 | |||
| 40 | int _VI_FUNC PROLOGIX_Receive (char received[], int lenght);  | 
        ||
| 41 | |||
| 42 | int _VI_FUNC PROLOGIX_SetAddr (int *primaryAddr, int *secondaryAddr);  | 
        ||
| 43 | |||
| 44 | void _VI_FUNC PROLOGIX_Close (void);  | 
        ||
| 45 | |||
| 46 | #ifdef __cplusplus | 
        ||
| 47 |     } | 
        ||
| 48 | #endif | 
        ||
| 49 | |||
| 50 | #endif  /* ndef __prologix_H__ */ |