Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:bc21inspect [2017/02/07 18:03] – created qem103 | en:software:qview:qview_6:qcl_library:bc21inspect [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BC21Inspect ====== | ||
+ | |||
+ | **B = **// | ||
+ | |||
+ | **C = **// | ||
+ | |||
+ | The BC21Inspect function __allows you to acquire a data in FIFO memory without affecting the memory__. The data is not extracted but only acquired. Through the input variable index you can capture a different data other than the first inserted, index represents the number of operations would be required to extract the data with the BC21Pop function. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **BC21Inspect (Buffer, Index, Element, ErrorCode, head, tail)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRGBL/ ARRSYS | ||
+ | | IN | GLOBAL | ||
+ | | IN | GLOBAL | ||
+ | | OUT | GLOBAL | ||
+ | | IN | GLOBAL / SYSTEM | ||
+ | | IN | GLOBAL / SYSTEM | ||
+ | |||
+ | ==== Error ==== | ||
+ | |||
+ | After calling the function if there are any errors the error (ErrorCode) variable takes the following values:\\ | ||
+ | 0 - No error\\ | ||
+ | 1 - No data in the FIFO.\\ | ||
+ | 2 - Invalid index. | ||