Subversion Repositories f9daq

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
185 f9daq 1
#include <cvidef.h>
2
#include <ivi.h>
3
 
4
#define GDELAY 0.01
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
} K617STATUS;
12
extern K617STATUS K617Stat;
13
 
14
void _VI_FUNC K617_open (int interface, int primary_addr, int secondary_addr,
15
                         int timeout);
16
 
17
void _VI_FUNC K617_clear (void);
18
 
19
void _VI_FUNC K617_send (char *cmd, int len);
20
 
21
int _VI_FUNC K617_receive (char *response, int maxbyt);
22
 
23
void _VI_FUNC K617_status (void);
24
 
25
void _VI_FUNC K617_data_format (int mode);
26
 
27
double _VI_FUNC K617_get (char *prefix, int *loc);
28
 
29
void _VI_FUNC K617_current_mode (int range);
30
 
31
void _VI_FUNC K617_zero_correct (int zcorrect);
32
 
33
void _VI_FUNC K617_trigger_mode (int mode);
34
 
35
void _VI_FUNC K617_reading_mode (int mode);
36
 
37
void _VI_FUNC K617_vsource_set (float value);
38
 
39
double _VI_FUNC K617_vsource_get (void);
40
 
41
void _VI_FUNC K617_vsource_operate (int operate);
42
 
43
void _VI_FUNC K617_close (void);