Example Code

Radio Buttons for Multiple Cases

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

 Overview: This VI takes 4 buttons on the front panel, and corresponds each to a different code.


Description: This VI takes 4 buttons on the front panel, and corresponds each to a different code. The code is not inserted into the example, but a blank case structure is in place of the desired code. The for loop at the beginning simply tells the user what case is currently active, and the case structure is selected inside the event structure.


Requirements: LabVIEW 2012 (or compatible), Hardware: none.


Steps to Implement or Execute Code:

1. Run the Vi.
2. Click on different Exp buttons.
3. Look at the String indicator.
4. Stop the VI.


Additional Information or References: 

 

Radio Buttons for Multiple Cases FP.png

 

Radio Buttons for Multiple Cases BD.png


**This document has been updated to meet the current required format for the NI Code Exchange.**   

Chris Van Horn
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
HunterSeeker
Member
Member
on

Can you please add some screenshots, or a snippet.

HomineAsacri
Member
Member
on

I'm started to learn Labview and this a difficult example for me but I was useful in my homework Thank You!!!!