Omega Engineering OME-A826PG User Manual
Page 30
OME-A-826PG Software Manual [Win 95/98/NT]
//********* IRQ Functios ************
Function A826_InstallIrq
(wBase,wIrq:WORD; var hEvent:LongInt; dwCount:LongInt):WORD; StdCall;
Function A826_AD_INT_Start(Ch,Gain,c1,c2:WORD):WORD; StdCall;
Function A826_AD_INT_Stop:WORD; StdCall;
Function A826_GetIntCount(var dwVal:LongInt):WORD; StdCall;
Function A826_GetBuffer(dwNum:LongInt; wBuffer:PSmallInt):WORD; StdCall;
Function A826_GetFloatBuffer(dwNum :LongInt;fBuffer:PSingle):Word; StdCall;
implementation
Function SHORT_SUB_2;
external 'A826.DLL' name 'SHORT_SUB_2';
Function FLOAT_SUB_2;
external 'A826.DLL' name 'FLOAT_SUB_2';
Function A826_Get_DLL_Version;
external 'A826.DLL' name 'A826_Get_DLL_Version';
Procedure A826_DA;
external 'A826.DLL' name 'A826_DA';
Procedure A826_Uni5_DA;
external 'A826.DLL' name 'A826_Uni5_DA';
Procedure A826_Uni10_DA;
external 'A826.DLL' name 'A826_Uni10_DA';
Procedure A826_DO;
external 'A826.DLL' name 'A826_DO';
Function A826_DI;
external 'A826.DLL' name 'A826_DI';
Function A826_AD;
external 'A826.DLL' name 'A826_AD';
Function A826_ADs_Hex;
external 'A826.DLL' name 'A826_ADs_Hex';
Function A826_ADs_Float;
external 'A826.DLL' name 'A826_ADs_Float';
Function A826_DELAY;
external 'A826.DLL' name 'A826_DELAY';
Function A826_Check_Address;
external 'A826.DLL' name 'A826_Check_Address';
Function A826_DriverInit;
external 'A826.DLL' name 'A826_DriverInit';
Procedure A826_DriverClose;
external 'A826.DLL' name 'A826_DriverClose';
Procedure A826_OutputByte;
external 'A826.DLL' name 'A826_OutputByte';
Procedure A826_OutputWord;
external 'A826.DLL' name 'A826_OutputWord';
Function A826_InputByte;
external 'A826.DLL' name 'A826_InputByte';
Function A826_InputWord;
external 'A826.DLL' name 'A826_InputWord';
Function A826_GetDriverVersion;
external 'A826.DLL' name 'A826_GetDriverVersion';
Function A826_InstallIrq;
external 'A826.DLL' name 'A826_InstallIrq';
Function A826_GetBuffer;
external 'A826.DLL' name 'A826_GetBuffer';
Function A826_GetFloatBuffer;
external 'A826.DLL' name 'A826_GetFloatBuffer';
Function A826_GetIntCount;
external 'A826.DLL' name 'A826_GetIntCount';
Function A826_AD_INT_Start;
external 'A826.DLL' name 'A826_AD_INT_Start';
Function A826_AD_INT_Stop;
external 'A826.DLL' name 'A826_AD_INT_Stop';
end.
Date: Aug-15-2000 Ver: 2.2 Page 28