Subversion Repositories f9daq

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #ifndef K2231A_H_
  2. #define  K2231A_H_
  3. int K2231A_Write(const char *format, ...  );
  4. const char * K2231A_Read(const char *format, ...  );
  5. int K2231A_QueryInt(const char *format, ... );
  6. double K2231A_QueryDouble(const char *format, ...);
  7. int K2231A_Initialize();
  8. int K2231A_Test();
  9. int K2231A_Close();
  10. int K2231A_Open();
  11. int  K2231A_RecallFromMemory(int preset);
  12. double K2231A_GetSetCurrent();
  13. double K2231A_GetSetVoltage();
  14. double K2231A_SetCurrent(double x);
  15. double K2231A_SetVoltage(double x);
  16. double K2231A_GetCurrentMonitor();
  17. double K2231A_GetVoltageMonitor();
  18. int K2231A_SelectChannel(int ch);
  19. int K2231A_GetOperationMode();
  20. int K2231A_SetSwitch(int state);
  21. int K2231A_GetSwitch();
  22.  
  23. void K2231A_ReadMonitorValues(double * I , double * V, unsigned char * mode, unsigned char *onoff);
  24. void K2231A_ReadSetValues(double * I , double * V, unsigned char *onoff);
  25.  
  26. #endif
  27.