Rev 185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 185 | Rev 256 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | #include <ivi.h> | 
            2 | #include <ivi.h> | 
          
| 3 | 3 | ||
| 4 | #define GDELAY 0. | 
            4 | #define GDELAY 0.1 | 
          
| 5 | 5 | ||
| 6 | typedef struct {  | 
            6 | typedef struct {  | 
          
| 7 | int function,range,zero_check,zero_correct,suppress,trigger;  | 
            7 | int function,range,zero_check,zero_correct,suppress,trigger;  | 
          
| 8 | int vsource_operate,read_mode,data_prefix,display,data_store;  | 
            8 | int vsource_operate,read_mode,data_prefix,display,data_store;  | 
          
| 9 | int srq,eoi;  | 
            9 | int srq,eoi;  | 
          
| 10 | char terminator[2];  | 
            10 | char terminator[2];  | 
          
| 11 | } K617STATUS;  | 
            11 | } K617STATUS;  | 
          
| 12 | extern K617STATUS K617Stat;  | 
            12 | extern K617STATUS K617Stat;  | 
          
| 13 | 13 | ||
| 14 | void _VI_FUNC K617_open (int interface, int  | 
            14 | void _VI_FUNC K617_open (int interface, int port, int primary_addr,  | 
          
| 15 | int timeout);  | 
            15 | int secondary_addr, int timeout);  | 
          
| 16 | 16 | ||
| 17 | void _VI_FUNC K617_clear (void);  | 
            17 | void _VI_FUNC K617_clear (void);  | 
          
| 18 | 18 | ||
| 19 | void _VI_FUNC K617_send (char *cmd, int len);  | 
            19 | void _VI_FUNC K617_send (char *cmd, int len);  | 
          
| 20 | 20 | ||