Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#ifndef pw18-1.8aq_h
#define pw18-1.8aq_h

HINSTANCE TMI_APIDll;

int  ( __stdcall* TMI_HandleOpen )( char * , char * );
        int  ( __stdcall* TMI_HandleClose )( int );
        int  ( __stdcall* TMI_TimeOut )( int , int );
        int  ( __stdcall* TMI_Refresh )( int );
        int  ( __stdcall* TMI_ModelNameQ )( int , char * );
        int  ( __stdcall* TMI_Voltage )( int , unsigned char , unsigned char , double );
        int  ( __stdcall* TMI_VoltageQ )( int , unsigned char , unsigned char , double * );
        int  ( __stdcall* TMI_Current )(int , unsigned char , unsigned char , double );
        int  ( __stdcall* TMI_CurrentQ )(int , unsigned char , unsigned char , double * );
        int  ( __stdcall* TMI_MainOutput )(int , unsigned char );
        int  ( __stdcall* TMI_MainOutputQ )(int , unsigned char * );
        int  ( __stdcall* TMI_Delay )(int , unsigned char );
        int  ( __stdcall* TMI_DelayQ )(int , unsigned char * );
        int  ( __stdcall* TMI_OutputSel )(int , unsigned char , unsigned char );
        int  ( __stdcall* TMI_OutputSelQ )(int , unsigned char , unsigned char * );
        int  ( __stdcall* TMI_TrackingOnOff )(int , unsigned char );
        int  ( __stdcall* TMI_TrackingOnOffQ )(int , unsigned char * );
        int  ( __stdcall* TMI_TrackingMode )(int , unsigned char );
        int  ( __stdcall* TMI_TrackingModeQ )(int , unsigned char * );
        int  ( __stdcall* TMI_TrackingGroup )(int , unsigned char , unsigned char );
        int  ( __stdcall* TMI_TrackingGroupQ )(int , unsigned char , unsigned char * );
        int  ( __stdcall* TMI_TrackingData )(int , unsigned char , unsigned char , double );
        int  ( __stdcall* TMI_TrackingDataQ )(int , unsigned char , unsigned char , double * );
        int  ( __stdcall* TMI_DelayTime )(int , unsigned char , double );
        int  ( __stdcall* TMI_DelayTimeQ )(int , unsigned char , double * );
        int  ( __stdcall* TMI_Display )(int , unsigned char );
        int  ( __stdcall* TMI_DisplayQ )(int , unsigned char * );
        int  ( __stdcall* TMI_Preset )(int , unsigned char );
        int  ( __stdcall* TMI_PresetQ )(int , unsigned char * );
        int  ( __stdcall* TMI_MoniDataQ )(int ,  char , double * , double * , char * );
        int  ( __stdcall* TMI_AdrQ )(int , unsigned char * );
        int  ( __stdcall* TMI_RemoteLocal )(int );
        int  ( __stdcall* TMI_LocalLockOut )(int );
        int  ( __stdcall* TMI_DataBackUp )(int );
        int  ( __stdcall* TMI_SRQEnable )(int , unsigned char );
        int  ( __stdcall* TMI_AllPresetQ )(int , double * );
        int  ( __stdcall* TMI_AllPresetQS )(int , char * );
        int  ( __stdcall* TMI_Out )(int , char * );
        int  ( __stdcall* TMI_In )(int , char * );
       

void TMI_ReadCurrent(double * I , double * V, unsigned char * mode, unsigned char *onoff);
int TMI_Open();  
int TMI_Close();
int TMI_Initialize();
int TMI_Test();
int TMI_OpenHandle(char * dev, char * usb   );
extern int TMI_DeviceId;

#endif