Omega Engineering OME-A826PG Computer Hardware User Manual


 
OME-A-826PG Software Manual [Win 95/98/NT]
Global Const NoError = 0
Global Const DriverOpenError = 1
Global Const DriverNoOpen = 2
Global Const GetDriverVersionError = 3
Global Const InstallIrqError = 4
Global Const ClearIntCountError = 5
Global Const GetIntCountError = 6
Global Const AdError1 = 100
Global Const AdError2 = -200#
Global Const InstallBufError = 9
Global Const AllocateMemoryError = 10
Global Const CardTypeError = 11
Global Const GetBufferError = 12
Global Const TimeoutError = 13
Global Const OtherError = 14
'******* Test Functions ***********
Declare Function SHORT_SUB_2 Lib "A826.DLL" (ByVal nA As Integer, _
ByVal nB As Integer) As Integer
Declare Function FLOAT_SUB_2 Lib "A826.DLL" (ByVal fA As Single, _
ByVal fB As Single) As Single
Declare Function A826_Get_DLL_Version Lib "A826.DLL" () As Integer
Declare Function A826_GetDriverVersion Lib "A826.DLL" _
(wDriverVersion As Integer) As Integer
'******* DI/DO Functions ***********
Declare Function A826_DI Lib "A826.DLL" (ByVal wBase As Integer) As Integer
Declare Sub A826_DO Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wHexValue As Integer)
'******* AD/DA Functions ***********
Declare Function A826_AD Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal wConfig As Integer) As Single
Declare Function A826_ADs_Hex Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal wConfig As Integer, _
wBuf As Integer, ByVal wCount As Integer) As Integer
Declare Function A826_ADs_Float Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal wConfig As Integer, _
fBuf As Single, ByVal wCount As Integer) As Integer
Declare Sub A826_DA Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal wHexValue As Integer)
Declare Sub A826_Uni5_DA Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal fValue As Single)
Declare Sub A826_Uni10_DA Lib "A826.DLL" (ByVal wBase As Integer, _
ByVal wChannel As Integer, ByVal fValue As Single)
Date: Aug-15-2000 Ver: 2.2 Page 19