Blame |
Last modification |
View Log
| RSS feed
//
// TEXIO USB488 Access Lib Ver1.00
//
// Copyright(c) 2010 NIKKE TECHNO SYSTEM CO.,LTD.
#include "StdAfx.h"
#define DLL_ERROR -1
#define IF_GPIB 1
#define IF_COM 2
class TMI_API
{
public:
// foCXÌI[v
int TMI_HandleOpen(char * Str_Renamed, char * Ptr);
// foCXÌN[Y
int TMI_HandleClose(int hID);
// ^CAEgÔÝè
int TMI_TimeOut(int hID, int time);
// tbV
®ì
int TMI_Refresh(int hID);
// f¼Ìæ¾
int TMI_ModelNameQ(int hID, char * Model);
// oÍÊuÆvZbgÊuðwèµÄd³lðÝè·é
int TMI_Voltage(int hID, unsigned char ch, unsigned char preset, double Data);
// oÍÊuÆvZbgÊuðwèµÄd³lðæ¾·é
int TMI_VoltageQ(int hID, unsigned char ch, unsigned char preset, double * Voltage);
// oÍÊuÆvZbgÊuðwèµÄd¬lðÝè·é
int TMI_Current(int hID, unsigned char ch, unsigned char preset, double Data);
// oÍÊuÆvZbgÊuðwèµÄd¬lðæ¾·é
int TMI_CurrentQ(int hID, unsigned char ch, unsigned char preset, double * Current);
// MainOutputÌON OFFðs¤
int TMI_MainOutput(int hID, unsigned char onoff);
// MainOutputÌóÔðæ¾·é
int TMI_MainOutputQ(int hID, unsigned char * Ans);
// Delay ÌON OFFðs¤
int TMI_Delay(int hID, unsigned char onoff);
// DelayÌóÔðæ¾·é
int TMI_DelayQ(int hID, unsigned char * Ans);
// OutputSelectÌoÍÊON OFFðs¤
int TMI_OutputSel(int hID, unsigned char ch, unsigned char onoff);
// OutputSelectÌoÍÊÌóÔðæ¾·é
int TMI_OutputSelQ(int hID, unsigned char ch, unsigned char * Ans);
// TrackingÌON OFFðs¤
int TMI_TrackingOnOff(int hID, unsigned char onoff);
// TrackingÌóÔðæ¾·é
int TMI_TrackingOnOffQ(int hID, unsigned char * Ans);
// TrackingModeðÝè·é
int TMI_TrackingMode(int hID, unsigned char mode);
// TrackingModeÌóÔðæ¾·é
int TMI_TrackingModeQ(int hID, unsigned char * Ans);
// TrackingGroupðoÍÊÉÝè·é
int TMI_TrackingGroup(int hID, unsigned char ch, unsigned char Tracking_Set);
// TrackingGroupÌoÍÊÝèóÔðæ¾·é
int TMI_TrackingGroupQ(int hID, unsigned char ch, unsigned char * Ans);
// TrackingGroupÌd³Ed¬lðoÍÊɸ³¹é
int TMI_TrackingData(int hID, unsigned char ch, unsigned char va, double Data);
// TrackingGroupÌd³Ed¬lðoÍÊÉæ¾·é
int TMI_TrackingDataQ(int hID, unsigned char ch, unsigned char va, double * Data);
// DELAYÔðoÍÊÉÝè·é
int TMI_DelayTime(int hID, unsigned char ch, double Data);
// DELAYÔðoÍÊÉæ¾·é
int TMI_DelayTimeQ(int hID, unsigned char ch, double * Data);
// Display\¦ÊuðÝè·é
int TMI_Display(int hID, unsigned char ch);
// Display\¦Êuðæ¾·é
int TMI_DisplayQ(int hID, unsigned char * Ans);
// PresetÔðÝè·é
int TMI_Preset(int hID, unsigned char preset);
// PresetÔðæ¾·é
int TMI_PresetQ(int hID, unsigned char * Ans);
// wèµ½oÍÌd³Ed¬j^lÆCV/CCóÔðæ¾·é
int TMI_MoniDataQ(int hID, unsigned char ch, double * Voltage, double * Current, unsigned char * cv_cc);
// VXeAhXðæ¾·é
int TMI_AdrQ(int hID, unsigned char * Adr);
// [g©ç[JÖØèÖ¦é
int TMI_RemoteLocal(int hID);
// [JbNAEgóÔÖÚs·é
int TMI_LocalLockOut(int hID);
// f[^ÌobNAbvðs¤
int TMI_DataBackUp(int hID);
// T[rXNGXgÌÖ~EÂÌÝèð·é
int TMI_SRQEnable(int hID, unsigned char ch);
// SoÍÌPRESETlÌæ¾
int TMI_AllPresetQ(int hID, double * PresetMem);
// SoÍÌPRESETlÌæ¾
int TMI_AllPresetQS(int hID, char * PresetMem);
// Rg[ÖFR}hM
int TMI_Out(int hID, char * Str_Renamed);
// Rg[ÖFR}hóM
int TMI_In(int hID, char * strbuf);
BOOL IFInitialize();
TMI_API();
virtual ~TMI_API();
HINSTANCE m_TMI_APIDll;
int ( __stdcall* m_TMI_HandleOpen )( char * , char * );
int ( __stdcall* m_TMI_HandleClose )( int );
int ( __stdcall* m_TMI_TimeOut )( int , int );
int ( __stdcall* m_TMI_Refresh )( int );
int ( __stdcall* m_TMI_ModelNameQ )( int , char * );
int ( __stdcall* m_TMI_Voltage )( int , unsigned char , unsigned char , double );
int ( __stdcall* m_TMI_VoltageQ )( int , unsigned char , unsigned char , double * );
int ( __stdcall* m_TMI_Current )(int , unsigned char , unsigned char , double );
int ( __stdcall* m_TMI_CurrentQ )(int , unsigned char , unsigned char , double * );
int ( __stdcall* m_TMI_MainOutput )(int , unsigned char );
int ( __stdcall* m_TMI_MainOutputQ )(int , unsigned char * );
int ( __stdcall* m_TMI_Delay )(int , unsigned char );
int ( __stdcall* m_TMI_DelayQ )(int , unsigned char * );
int ( __stdcall* m_TMI_OutputSel )(int , unsigned char , unsigned char );
int ( __stdcall* m_TMI_OutputSelQ )(int , unsigned char , unsigned char * );
int ( __stdcall* m_TMI_TrackingOnOff )(int , unsigned char );
int ( __stdcall* m_TMI_TrackingOnOffQ )(int , unsigned char * );
int ( __stdcall* m_TMI_TrackingMode )(int , unsigned char );
int ( __stdcall* m_TMI_TrackingModeQ )(int , unsigned char * );
int ( __stdcall* m_TMI_TrackingGroup )(int , unsigned char , unsigned char );
int ( __stdcall* m_TMI_TrackingGroupQ )(int , unsigned char , unsigned char * );
int ( __stdcall* m_TMI_TrackingData )(int , unsigned char , unsigned char , double );
int ( __stdcall* m_TMI_TrackingDataQ )(int , unsigned char , unsigned char , double * );
int ( __stdcall* m_TMI_DelayTime )(int , unsigned char , double );
int ( __stdcall* m_TMI_DelayTimeQ )(int , unsigned char , double * );
int ( __stdcall* m_TMI_Display )(int , unsigned char );
int ( __stdcall* m_TMI_DisplayQ )(int , unsigned char * );
int ( __stdcall* m_TMI_Preset )(int , unsigned char );
int ( __stdcall* m_TMI_PresetQ )(int , unsigned char * );
int ( __stdcall* m_TMI_MoniDataQ )(int , unsigned char , double * , double * , unsigned char * );
int ( __stdcall* m_TMI_AdrQ )(int , unsigned char * );
int ( __stdcall* m_TMI_RemoteLocal )(int );
int ( __stdcall* m_TMI_LocalLockOut )(int );
int ( __stdcall* m_TMI_DataBackUp )(int );
int ( __stdcall* m_TMI_SRQEnable )(int , unsigned char );
int ( __stdcall* m_TMI_AllPresetQ )(int , double * );
int ( __stdcall* m_TMI_AllPresetQS )(int , char * );
int ( __stdcall* m_TMI_Out )(int , char * );
int ( __stdcall* m_TMI_In )(int , char * );
};