LabVIEW User Interface – Radio Button

Radio Button is very useful for build a button with more status and when you want to see to the user the two actions of boolean separated. As a Listbox in labview is a good way to create vertical Menu, with radio and some customization we can create both vertical or horizontal menu.

The only thing is not extensible at runtime as the listbox or table.

In this article we explain how customize a classic radio button in labview, to have FLAT Button with a decalc icon and text.

Labview radio button

Step 1: Add a radio button from classic palette.

Labview radio button

Step 2: Change Button with Flat Square Button

Labview radio button

Step 3: Change Property of Button.

Change the Color ON/OFF, unselect lock text in center and Multiple string.

Step 4: Use the select tool to select both the text boolean text and place to give the space for decal picture.

Step 5: Customize the single Button

Step 6: Get icon and customize.

ICON8 (icons8.com) is our favorite repository for icon, there are different kind (windows,Ios,colored ans so on), and you can customize the icon before download. In our case we search for automatic icon in windows 10 style, then customize with recolor in white and download the 64px.

Step 7: Import Picture to clipboard

Step 8: Import from clipboard as Decal

Step 9: Place Decal in wished position. Close control and confirm replace the original control.

Step 10: Repeat Step 5-9 for other button. Autosizing/Arrange Horizontally. Paint transparent the board of radiobutton container.

Your TwoButton Status is ready.

Remember to label with sense each single button.

Now the diagram, like an enum you have more readable case status, and you can add other cases to your button.

The article explain how you can change your interface, and the useful of radiobutton for user experience and readability of code. We will prepare a next article in witch you can see how you can add button programmatically.

Vuoi approfondire l'argomento? Hai un progetto e stai cercando un Team che ti possa supportare?

ti potrebbero interessare

LabVIEW Dynamic VI calls

Want to make your LabVIEW applications more flexible and efficient? Discover how dynamic VI calls can help, with two key methods: Call By Reference, perfect for strict control, and Run

ByteQX ad A&T Automazione e Testing (Torino 11-13 Febbraio)

Saremo ad A&T Torino (11-13 Feb) stand F46 con Micron. Vieni a vedere QX integrato con banchi prova: dal sensore alla decisione. LabVIEW e SPOT per sistemi chiavi in mano.

Nuovo sistema di controllo per Prove Motoriduttori

Bonfiglioli ha rinnovato il laboratorio prove con un sistema basato su CompactRIO, riducendo i tempi di acquisizione a 5 ms e integrando gestione cloud e allarmi real-time, migliorando efficienza e