LQ-Bindings
LQ-Bindings copied to clipboard
LabVIEW bindings for Qt
LQ
LQ (pronounced "Luke") is a set of LabVIEW bindings for the Qt toolkit. It lets LabVIEW programmers create dynamic, flexible, and powerful GUIs.
LQ is currently focussed on the widget classes, but other major technologies from Qt are planned for inclusion in future releases.
Supported Platforms
Development Platforms
- LabVIEW 2016 or newer (32-bit and 64-bit)
Deployment Platforms
- Windows (as supported by LabVIEW)
- NI Linux RT 19.0 or newer (x64)
Installation on Windows
First, add the LQ feed to NI Package Manager (NIPM):
- https://jksh.github.io/LQ-Bindings/feeds/win_x86/ or
- https://jksh.github.io/LQ-Bindings/feeds/win_x64/
Then, install the LQ package:
For step-by-step instructions, read the Windows setup guide.
Installation on NI Linux RT
First, add the LQ feed via NI Measurement & Automation Explorer (NI MAX):
- https://dl.cloudsmith.io/public/lq-bindings/linux_ipk_x64/raw/files
Then, install the LQ package:
For step-by-step instructions, read the NI Linux RT setup guide.
Examples
Open LabVIEW, then open the NI Example Finder (Help > Find Examples...) and
search for the keywords "LQ" or "Qt".
Here is a video compilation of some of the examples:
Usage
Copy example code into your own block diagram and modify it.
If a class has already been loaded into LabVIEW's memory, it is accessible via the Quick Drop menu. Otherwise, drag it from Windows Explorer onto your block diagram (from vi.lib\addons\LQ\).
NOTE: LabVIEW palette entries are planned for future releases.
Known Issues
This is a pre-alpha release, which means (i) the API will likely change in the near future, (ii) the library is far from feature-complete, (iii) performance is not optimized, and (iv) you might experience crashes. Other issues include:
-
You currently can't disconnect signals, except by calling LQCoreEngine.lvclass:Stop Engine.vi.
-
QWinThumbnailToolButton cannot be applied to non-Qt windows, such as LabVIEW front panels.
Roadmap
See http://github.com/JKSH/LQ-Bindings/wiki/Roadmap
License
Copyright (c) 2022 Sze Howe Koh <[email protected]>
The LQ library is published under the Mozilla Public License v2.0, while examples are published under the MIT License.
LQ provides bindings to third party libraries that are licensed under different terms. Please see the 3rdparty folder for details.
Acknowledgements
Package repository hosting is graciously provided by Cloudsmith. Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that enables your organization to create, store and share packages in any format, to any place, with total confidence.