Omega Engineering OME-A826PG User Manual

Page 18

Advertising
background image

OME-A-826PG Software Manual [Win 95/98/NT]

Global Const A826_BI_2

= 1

Global Const A826_BI_4

= 2

Global Const A826_BI_8

= 3

Global Const A826_UNI_2

= 5

Global Const A826_UNI_4

= 6

Global Const A826_UNI_8

= 7


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 GetBufferError

= 10

Global Const INTStartError

= 11

Global Const INTStopError

= 12

Global Const InstallDmaIrqError

= 13

Global Const RemoveDmaIrqError

= 14

Global Const DmaStartError

= 15

Global Const DmaStopError

= 16

Global Const DmaGetDataError =

17

Global Const TimeoutError

= 18

Global Const AllocateMemoryError

= 19

Global Const OtherError

= 20


'******* 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)

Date: Aug-15-2000 Ver: 2.2 Page 16

Advertising