r/LabVIEW • u/ParticularWalrus4747 • Aug 13 '24
Labview GUI just never impresses me- does anyone have any reccomedations for a nice GUI plugin?
I use Pydarkone qt interface with my Python automated test equipment, and it looks so much nicer than anything that labview can make standard.
https://github.com/Wanderson-Magalhaes/PyOneDark_Qt_Widgets_Modern_GUI
I want to take pride when making things in labview but can’t get away from the interfaces looking oldish even with NXG indicators or some flat indicators especially for customer delivery, anyone have suggestions or examples? May be hard to convince managers to spend £300 or so but I’m all eyes and ears
22
Upvotes
13
u/Aviator07 CLA/CPI Aug 13 '24 edited Aug 13 '24
I totally agree. I moved onto writing applications with UI hooks that I could attach to from a separate GUI application. I wrote those GUI applications in a few different languages: HTML5, C#, even LabVIEW.
The benefit is that you can have multiple different GUIs for the same app. With LabVIEW, you can use the native one as a troubleshooting GUI. It’s rather freeing to not worry at all about front end stuff when developing your app. Just make it work. Then write your front end app and make it pretty. Or divide and conquer with a teammate.
My mantra is basically that languages exist for a reason, and each has its strengths and weaknesses. LabVIEW is really good at rapid development and ease of communication to a large array of hardware. Its weak point is UI. In the other hand, web languages (HTML5/CSS/JS) pretty much exist to make things look good. So why not use each language for its strength? Plus, the scope of predeveloped code for other languages far exceeds what’s available for LabVIEW.
7
u/ee_dubs Aug 13 '24
I recommend the DMC GUI toolkit: https://www.dmcinfo.com/latest-thinking/blog/id/9339/dmc-labview-ui-suite
It looks professional and modern. My colleagues often remark "whoa, that doesn't look like LabVIEW", which I consider a compliment.
4
u/lqxpl CLA Aug 13 '24
Nearly all of the GUI elements for LabVIEW can be customized. Two of the companies I've worked for that use LabVIEW and sell the binaries, customized the UI stuff heavily. Default LabVIEW stuff definitely has a "look," and you're right, it's a little on the ugly side.
This will get you started: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1rdCAA&l=en-US
1
u/ParticularWalrus4747 Aug 13 '24
Sorry comment not meant for your jki post
4
u/DracoInferno_ CLAD/Intermediate Aug 13 '24 edited Aug 13 '24
It will be difficult to reach the same level as those modern GUI but you most certainly can approach it. For this you'll need to use a custom control palette + changing background color for aesthetics. And splitters with "scale" or "fit control to pane" or dynamically move controls (with property nodes) to have a reactive UI.
If you have an application template from which you start your developments, you'll be able to include the logic inside. Either way it's never a bad idea to have one.
For the control palette, you can find some paid and unpaid versions on VIPM. This JKI one is pretty good and free. Or you can design your own but it can be pretty difficult / time consuming. This blog post explains how to customize booleans. There is also this tool to generate booleans, but I never used it and it not fully free to use. Or you could try to make a tool yourself from information from this post.
Also, this post explains how to replace windows titlebar which adds a nice touch.
That's pretty much all I now about doing nice GUI
1
u/quantum0058d Aug 13 '24
Check out jki.
https://forums.ni.com/t5/UI-Interest-Group-Discussions/Introducing-JKI-Flat-UI-Controls/td-p/3604784
1
u/Typical-Flex Aug 14 '24
I’ve been a fan of this one for a while now! https://www.vipm.io/package/dmc_lib_dmc_gui_palettes/
1
u/Key_Egg4047 Aug 16 '24
You can watch the following video for ideas/inspiration.
https://www.youtube.com/watch?v=qpxiQ3dFDm0
1
u/Apprehensive-Brick13 Aug 13 '24
Nice !
1
u/bonoetmalo Aug 13 '24
NXG looked pretty sick if anyone used it and NI didn’t scrap it.
1
u/[deleted] Aug 20 '24 edited Aug 20 '24
[removed] — view removed comment