Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:bc21elements [2017/02/17 17:34] – created qem103 | en:software:qview:qview_6:qcl_library:bc21elements [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BC21Elements ====== | ||
+ | |||
+ | **B = **// | ||
+ | |||
+ | **C = **// | ||
+ | |||
+ | The BC21Elements function __makes it possible to know the number of items inserted in the FIFO__. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **BC21Elements (Buffer, Element, ErrorCode, head, tail)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRGBL/ ARRSYS | ||
+ | | OUT | GLOBAL | ||
+ | | OUT | GLOBAL | ||
+ | | IN | GLOBAL / SYSTEM | ||
+ | | IN | GLOBAL / SYSTEM | ||
+ | |||
+ | ==== Error ==== | ||
+ | |||
+ | Once invoked the function if there are any errors the error variable (ErrorCode) takes the following values:\\ | ||
+ | 0 - No error\\ | ||
+ | 1 - No data in FIFO.\\ | ||
+ | 2 - FIFO memory that contains data not correctly formatted. | ||