Omega Engineering OME-A826PG Computer Hardware User Manual


 
OME-A-826PG Software Manual [Win 95/98/NT]
A826_BI_8 = 3;
A826_UNI_2 = 5;
A826_UNI_4 = 6;
A826_UNI_8 = 7;
NoError = 0;
DriverOpenError = 1;
DriverNoOpen = 2;
GetDriverVersionError = 3;
InstallIrqError = 4;
ClearIntCountError = 5;
GetIntCountError = 6;
AdError1 = 100;
AdError2 = -200.0;
InstallBufError = 9;
AllocateMemoryError = 10;
CardTypeError = 11;
GetBufferError = 12;
TimeoutError = 13;
OtherError = 14;
//********* Test Functios ************
Function SHORT_SUB_2(nA, nB : SmallInt):SmallInt; StdCall;
Function FLOAT_SUB_2(fA, fB : Single):Single; StdCall;
Function A826_Get_DLL_Version:WORD; StdCall;
Function A826_GetDriverVersion(var wDriverVersion:WORD):Word; StdCall;
//********* DI/DO Functios ************
Function A826_DI(wBase:Word):Word; StdCall;
Procedure A826_DO(wBase, wHexValue:Word); StdCall;
//********* DA/AD Functios ************
Function A826_AD(wBase,wChannel,wConfig:WORD):Single; StdCall;
Function A826_ADs_Hex(wBase,wChannel,wConfig:WORD; wBuf:PSmallInt;
wCount:WORD):WORD; StdCall;
Function A826_ADs_Float(wBase,wChannel,wConfig:WORD; fBuf:PSingle;
wCount:WORD):WORD; StdCall;
Procedure A826_DA(wBase, wChannel, wHexValue:WORD); StdCall;
Procedure A826_Uni5_DA(wBase,wChannel:Word;fValue:Single); StdCall;
Procedure A826_Uni10_DA(wBase,wChannel:Word;fValue:Single); StdCall;
//********* Driver Functios ************
Function A826_DriverInit:WORD; StdCall;
Procedure A826_DriverClose; StdCall;
Function A826_DELAY(wBase,wDownCount:WORD):WORD; StdCall;
Function A826_Check_Address(wBase:WORD):WORD; StdCall;
Procedure A826_OutputByte(wPortAddr:WORD; bOutputVal:Byte); StdCall;
Procedure A826_OutputWord(wPortAddr:WORD; wOutputVal:WORD); StdCall;
Function A826_InputByte(wPortAddr:WORD):WORD; StdCall;
Function A826_InputWord(wPortAddr:WORD):WORD; StdCall;
Date: Aug-15-2000 Ver: 2.2 Page 27