Function
i8014W_CalibrateDataHex
i8014W_UnLockFIFO
i8014W_ClearFIFO
i8014W_InstallMagicScanISR
i8014W_UnInstallMagicScanI
SR
i8014W_ClearInt
Error code list
Error code
0
NoError
-1
ID_ERROR
-2
SLOT_ERROR
-3
CHANNEL_ERROR
-4
GAIN_ERROR
-5
FIFO_EMPTY
-6
FIFO_LATCHED
-7
FIFO_OVERFLOW
-8
TX_NOTREADY
I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Description
Calibrates the raw data read by Magic Scan.
Unlocks FIFO when it is locked because the
data fills the FIFO.
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.
Definition
No error.
Check module's ID
Slot index (0 ~ 7)
Channel index (0 ~ 15)
Gain (0 ~ 4)
No data in FIFO.
FIFO is full and be latched
FIFO is full
Error
secondary FPGA
If the FIFO is locked,
Description
between
primary
FPGA
and
55