Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef pw18-1.8aq_h
  2. #define pw18-1.8aq_h
  3.  
  4. HINSTANCE TMI_APIDll;
  5.  
  6. int  ( __stdcall* TMI_HandleOpen )( char * , char * );
  7.         int  ( __stdcall* TMI_HandleClose )( int );
  8.         int  ( __stdcall* TMI_TimeOut )( int , int );
  9.         int  ( __stdcall* TMI_Refresh )( int );
  10.         int  ( __stdcall* TMI_ModelNameQ )( int , char * );
  11.         int  ( __stdcall* TMI_Voltage )( int , unsigned char , unsigned char , double );
  12.         int  ( __stdcall* TMI_VoltageQ )( int , unsigned char , unsigned char , double * );
  13.         int  ( __stdcall* TMI_Current )(int , unsigned char , unsigned char , double );
  14.         int  ( __stdcall* TMI_CurrentQ )(int , unsigned char , unsigned char , double * );
  15.         int  ( __stdcall* TMI_MainOutput )(int , unsigned char );
  16.         int  ( __stdcall* TMI_MainOutputQ )(int , unsigned char * );
  17.         int  ( __stdcall* TMI_Delay )(int , unsigned char );
  18.         int  ( __stdcall* TMI_DelayQ )(int , unsigned char * );
  19.         int  ( __stdcall* TMI_OutputSel )(int , unsigned char , unsigned char );
  20.         int  ( __stdcall* TMI_OutputSelQ )(int , unsigned char , unsigned char * );
  21.         int  ( __stdcall* TMI_TrackingOnOff )(int , unsigned char );
  22.         int  ( __stdcall* TMI_TrackingOnOffQ )(int , unsigned char * );
  23.         int  ( __stdcall* TMI_TrackingMode )(int , unsigned char );
  24.         int  ( __stdcall* TMI_TrackingModeQ )(int , unsigned char * );
  25.         int  ( __stdcall* TMI_TrackingGroup )(int , unsigned char , unsigned char );
  26.         int  ( __stdcall* TMI_TrackingGroupQ )(int , unsigned char , unsigned char * );
  27.         int  ( __stdcall* TMI_TrackingData )(int , unsigned char , unsigned char , double );
  28.         int  ( __stdcall* TMI_TrackingDataQ )(int , unsigned char , unsigned char , double * );
  29.         int  ( __stdcall* TMI_DelayTime )(int , unsigned char , double );
  30.         int  ( __stdcall* TMI_DelayTimeQ )(int , unsigned char , double * );
  31.         int  ( __stdcall* TMI_Display )(int , unsigned char );
  32.         int  ( __stdcall* TMI_DisplayQ )(int , unsigned char * );
  33.         int  ( __stdcall* TMI_Preset )(int , unsigned char );
  34.         int  ( __stdcall* TMI_PresetQ )(int , unsigned char * );
  35.         int  ( __stdcall* TMI_MoniDataQ )(int ,  char , double * , double * , char * );
  36.         int  ( __stdcall* TMI_AdrQ )(int , unsigned char * );
  37.         int  ( __stdcall* TMI_RemoteLocal )(int );
  38.         int  ( __stdcall* TMI_LocalLockOut )(int );
  39.         int  ( __stdcall* TMI_DataBackUp )(int );
  40.         int  ( __stdcall* TMI_SRQEnable )(int , unsigned char );
  41.         int  ( __stdcall* TMI_AllPresetQ )(int , double * );
  42.         int  ( __stdcall* TMI_AllPresetQS )(int , char * );
  43.         int  ( __stdcall* TMI_Out )(int , char * );
  44.         int  ( __stdcall* TMI_In )(int , char * );
  45.        
  46.  
  47. void TMI_ReadCurrent(double * I , double * V, unsigned char * mode, unsigned char *onoff);
  48. int TMI_Open();  
  49. int TMI_Close();
  50. int TMI_Initialize();
  51. int TMI_Test();
  52. int TMI_OpenHandle(char * dev, char * usb   );
  53. extern int TMI_DeviceId;
  54.  
  55. #endif
  56.