Skip to content

JKSH/LQ-Bindings

Repository files navigation

Hosted By: Cloudsmith

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):

Adding the LQ feed

Then, install the LQ package:
Installing LQ packages

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):

Adding the LQ feed

Then, install the LQ package:
Installing 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".
Searching for examples

Here is a video compilation of some of the examples:
Video thumbnail

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 <szehowe.koh@gmail.com>

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.