I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
93
How to solve FIFO LATCHED error (-6)?
After Start Magic Scan instruction runs, it will go on scanning channel and converting
data unless the stop command is executed, the data converted is saved into FIFO
continuously. If we do not stop the Magic Scan after obtained data or we do not read
data from FIFO in time, the FIFO will be filled and then locked. When the FIFO is
locked, we will get FIFO LATCHED error (-6) and the new data cannot be saved into
the FIFO.
To solve the error, we need execute the following instructions:
1. Stop the Magic Scan.
2. Read the rest of the data in FIFO or clear FIFO.
3. Unlock FIFO.
4. Start Magic Scan again.