Subversion Repositories f9daq

Rev

Rev 185 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
185 f9daq 1
#include <cvidef.h>
2
#include <ivi.h>
3
 
256 f9daq 4
#define GDELAY 0.1
185 f9daq 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
 
256 f9daq 14
void _VI_FUNC K617_open (int interface, int port, int primary_addr,
15
                         int secondary_addr, int timeout);
185 f9daq 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);