Omega Engineering OME-A826PG Computer Hardware User Manual


 
OME-A-826PG Software Manual [Win 95/98/NT]
A826_BI_50 = 10;
A826_BI_500 = 11;
A826_BI_2 = 1;
A826_BI_4 = 2;
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;
GetBufferError = 10;
INTStartError = 11;
INTStopError = 12;
InstallDmaIrqError = 13;
RemoveDmaIrqError = 14;
DmaStartError = 15;
DmaStopError = 16;
DmaGetDataError = 17;
TimeoutError = 18;
AllocateMemoryError = 19;
OtherError = 20;
//********* 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;
Date: Aug-15-2000 Ver: 2.2 Page 23