Rev 185 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#include <cvidef.h>
#include <ivi.h>
#define GDELAY 0.1
typedef struct {
int function,range,zero_check,zero_correct,suppress,trigger;
int vsource_operate,read_mode,data_prefix,display,data_store;
int srq,eoi;
char terminator[2];
} K617STATUS;
extern K617STATUS K617Stat;
void _VI_FUNC K617_open (int interface, int port, int primary_addr,
int secondary_addr, int timeout);
void _VI_FUNC K617_clear (void);
void _VI_FUNC K617_send (char *cmd, int len);
int _VI_FUNC K617_receive (char *response, int maxbyt);
void _VI_FUNC K617_status (void);
void _VI_FUNC K617_data_format (int mode);
double _VI_FUNC K617_get (char *prefix, int *loc);
void _VI_FUNC K617_current_mode (int range);
void _VI_FUNC K617_zero_correct (int zcorrect);
void _VI_FUNC K617_trigger_mode (int mode);
void _VI_FUNC K617_reading_mode (int mode);
void _VI_FUNC K617_vsource_set (float value);
double _VI_FUNC K617_vsource_get (void);
void _VI_FUNC K617_vsource_operate (int operate);
void _VI_FUNC K617_close (void);