I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
55
Function
Description
Calibrates the raw data read by Magic Scan.
Unlocks FIFO when it is locked because the
data fills the FIFO. If the FIFO is locked,
UnlockFIFO and ClearFIFO commands need
be executed for the next scan.
Clears FIFO after the UnlockFIFO function
executed.
Installs ISR for interrupt events form FIFO.
Uninstalls Magic Scan ISR.
Clears interrupt status for waiting the next
interrupt event.
Error code list
Error code
Definition
Description
0
NoError
No error.
-1
ID_ERROR
Check modul
e’s ID
-2
SLOT_ERROR
Slot index (0 ~ 7)
-3
CHANNEL_ERROR
Channel index (0 ~ 15)
-4
GAIN_ERROR
Gain (0 ~ 4)
-5
FIFO_EMPTY
No data in FIFO.
-6
FIFO_LATCHED
FIFO is full and be latched
-7
FIFO_OVERFLOW
FIFO is full
-8
TX_NOTREADY
Error between primary FPGA and
secondary FPGA