-
Try out the new Jake: AI Coding Assistant for LabVIEW (beta)!
Get answers to questions about LabVIEW and discuss your code.
Advanced Structures by G Open Source Project for LabVIEW - Toolkit for LabVIEW Download
Advanced Structures
Version | 1.0.0.1 |
Released | Jan 14, 2024 |
Publisher | G Open Source Project for LabVIEW |
License | 0-BSD |
LabVIEW Version | LabVIEW>=13.0 |
Operating System | Windows, Mac, and Linux |
Dependencies | labview_open_source_project_lib_labview_open_source_palette |
Used By | labview_open_source_project_lib_mqtt_connection labview_open_source_project_lib_mqtt_broker |
Project links | Repository Discussion |
Description
Circular Buffer including Queues (FIFO) and Stacks (FILO)
- Support for Queue or Stack from the same base class
- Restrict overflow or not
- O(1) operations for insertions (queue/push) and removal (dequeue/pop)
- Preview any element at index, or all
- Insert elements directly from an array in near O(1) time (no for loop)
Base class consists of a Variant Circular Buffer (LabVIEW 2013 and up, no malleables, no interfaces)
- ByteFIFO is strictly-typed to support byte streams in Queue configuration
- Circular Buffer (Object) is strictly-typed to support LabVIEW object type
- Circular BufferMap is a ByRef dictionary of named buffers (for factory-style designs)
- Esily extensible to any strict type by creating a facade (no malleables)
Release Notes
Circular Buffer including Queues (FIFO) and Stacks (FILO)
- Support for Queue or Stack from the same base class
- Restrict overflow or not
- O(1) operations for insertions (queue/push) and removal (dequeue/pop)
- Preview any element at index, or all
- Insert elements directly from an array in near O(1) time (no for loop)