21
time.
Return value
:
0
:
Success
;
-1: Failure; -2: Timeout.
ClearHFifo()
long
_stdcall
ClearHFifo(
unsigned
long
Index)
Notes
:
Clear hardware FIFO, that is write offset address 4.
Parameter
:
Index
:
card index, to select the card to manage.
Return value
:
0
:
Success
;
-1: Failure.
GetHFifoStatus()
long
_stdcall
GetHFifoStatus(
unsigned
long
Index)
Notes
:
Query hardware FIFO status.
Parameter
:
Index
:
card index, to select the card to manage.
Return value
:
-1 represents failure. Other values represent success.
0 represents hardware FIFO is empty.
1 represents hardware FIFO is not empty but not half full.
2 represents hardware FIFO is near or already half full, but not full.
3 represents hardware FIFO is full.
ClearSFifo()
long
_stdcall
ClearSFifo(
unsigned
long
Index)
Notes
:
Clear software FIFO.
Parameter
:
Index
:
card index, to select the card to manage.
Return value
:
0
:
Success
;
-1: Failure.
GetSFifoStatus()
long
_stdcall
GetSFifoStatus(
unsigned
long
Index)
Notes
:
Query the status of software FIFO.
Parameter
:
Index
:
card index, to select the card to manage.