#ifndef K2231A_H_
 
#define  K2231A_H_ 
 
int K2231A_Write(const char *format, ...  ); 
 
const char * K2231A_Read(const char *format, ...  );
 
int K2231A_QueryInt(const char *format, ... );
 
double K2231A_QueryDouble(const char *format, ...);
 
int K2231A_Initialize(); 
 
int K2231A_Test();
 
int K2231A_Close();
 
int K2231A_Open();
 
int  K2231A_RecallFromMemory(int preset);
 
double K2231A_GetSetCurrent();
 
double K2231A_GetSetVoltage();
 
double K2231A_SetCurrent(double x);
 
double K2231A_SetVoltage(double x);
 
double K2231A_GetCurrentMonitor();
 
double K2231A_GetVoltageMonitor();
 
int K2231A_SelectChannel(int ch);
 
int K2231A_GetOperationMode();
 
int K2231A_SetSwitch(int state);
 
int K2231A_GetSwitch();
 
int K2231A_SetDebug(int x);
 
int K2231A_SetPort(int x);
 
void K2231A_ReadMonitorValues(double * I , double * V, unsigned char * mode, unsigned char *onoff);
 
void K2231A_ReadSetValues(double * I , double * V, unsigned char *onoff);
 
 
 
#endif