Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
281 f9daq 1
#include <cvidef.h>
2
#include <ivi.h>
3
 
4
#define GDELAY 0.1
5
 
6
typedef struct {
7
  int function,range,zero_check,zero_correct,suppress,trigger;
8
  int vsource_operate,read_mode,data_prefix,display,data_store;
9
  int srq,eoi;
10
  char terminator[2];
11
} K6517STATUS;
12
extern K6517STATUS K6517Stat;
13
 
14
void _VI_FUNC K6517_open (int interface, int port, int primary_addr,
15
                         int secondary_addr, int timeout);
16
 
17
void _VI_FUNC K6517_clear (void);
18
 
19
void _VI_FUNC K6517_send (char *cmd, int len);
20
 
21
int _VI_FUNC K6517_receive (char *response, int maxbyt);
22
 
23
void _VI_FUNC K6517_status (void);
24
 
25
void _VI_FUNC K6517_data_format (int mode);
26
 
27
double _VI_FUNC K6517_get (char *prefix, int *loc);
28
 
29
void _VI_FUNC K6517_current_mode (double range);
30
 
31
void _VI_FUNC K6517_zero_correct (int zcorrect);
32
 
33
void _VI_FUNC K6517_trigger_mode (int mode);
34
 
35
void _VI_FUNC K6517_reading_mode (int mode);
36
 
37
void _VI_FUNC K6517_vsource_set (float value);
38
 
39
double _VI_FUNC K6517_vsource_get (void);
40
 
41
void _VI_FUNC K6517_vsource_operate (int operate);
42
 
43
void _VI_FUNC K6517_close (void);