Subversion Repositories f9daq

Rev

Rev 310 | 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. int K2231A_SetDebug(int x);
  23. int K2231A_SetPort(int x);
  24. void K2231A_ReadMonitorValues(double * I , double * V, unsigned char * mode, unsigned char *onoff);
  25. void K2231A_ReadSetValues(double * I , double * V, unsigned char *onoff);
  26.  
  27. #endif
  28.