22
Return value
:
The number of valid data in software FIFO.
ReadSFifo()
long
_stdcall
ReadSFifo(
unsigned
long
Index,
short
*pResultArr,
unsigned
long
Pts,
unsigned
long
TimeOut)
Notes
:
Trigger by software and return the specified amount of data.
Parameter
:
Index
:
card index, to select the card to manage.
*pResultArr
:
Acquired data array.
AiPts
:
Define the amount of data to acquire.
TimeOut
:
Set timeout window. Return if no specified data is required within the set
time.
Return value
:
0
:
Success
;
-1: Failure; -2: Timeout.
DiRead()
long
_stdcall
DiRead(
unsigned
long
Index,
unsigned
long
*DI)
Notes
:
Read DI status.
Parameter
:
Index
:
card index, to select the card to manage.
*DI
:
Acquired DI status. The low 16 digits correspond to 16 digits DI.
Return value
:
0
:
Success
;
-1: Failure.
DoSet()
long
_stdcall
DoSet(
unsigned
long
Index,
unsigned
long
DO)
Notes
:
Set DO status.
Parameter
:
Index
:
card index, to select the card to manage.
DO
:
Set DO. The low 16 digits correspond to 16 digits DI.
Return value
:
0
:
Success
;
-1: Failure.
CTStart()
long
_stdcall
CTStart(
unsigned
long
Index,
unsigned
long
Chan,
unsigned
long
Mode,
Содержание PCI-1255
Страница 1: ...PCI 1255 Multifunctional DAQ Device User Manual Smacq Technologies Co Ltd 2015 09 10...
Страница 15: ...14 Figure 3 1 Basic tests using example codes...
Страница 26: ...25...