16
Notes
:
Get the quantity of this type of DAQ cards in the system. It does not count
the cards without correct drivers.
Parameter
:
None
Return value
:
>=0. It means the quantity of this type of DAQ cards recognized in
the system.
OpenDevice()
long
_stdcall
OpenDevice(
unsigned
long
Index)
Notes
:
Open specific device.
Parameter
:
Index
:
card index, select the card to open. The card sequence counts from
0.
Return value
:
0
:
Success
;
-1: Failure.
CloseDevice()
long
_stdcall
CloseDevice(
unsigned
long
Index)
Parameter
:
Close specific device.
Parameter
:
Index
:
card index, select the card to close.
Return value
:
0
:
Success
;
-1: Failure.
CloseAllDevice()
long
_stdcall
CloseAllDevice(
void
)
Notes
:
Close all devices of same model opened by the current process.
Parameter
:
None.
Return value
:
0
:
Success
;
-1: Failure.
ReadDevice()
long
_stdcall
ReadDevice(
unsigned
long
Index,
unsigned
long
nOffset,
unsigned
long
*pResult)
Notes
:
To perform 32-bit read IO operation on the board register. This function is a low-level