Download ADwin

Transcript
ADwin
FIFO_Clear
FIFO_Clear
FIFO_CLEAR initializes the write and read pointers of a FIFO array.
Syntax
FIFO_CLEAR(arraynum)
Parameters
arraynum
Number of the DATA-FIFO array (1…200).
LONG
Notes
Initalization of the write and read pointers does not change the data in
the the array.
The FIFO pointers are not initialized upon dimensioning. You should
initialize the pointers in the sections LOWINIT: or INIT: with FIFO_
CLEAR.
Initializing the FIFO pointers during program run is useful, if you want
to clear all data of the array (because of a measurement error for instance).
See also
FIFO, FIFO_Empty, FIFO_Full
ADbasic 5.00, Manual March 2010
165