Example Code

Remove Element from Run-Time Menu of the Control in the Front Panel in LabVIEW

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 code allows the user to remove items from a run-time menu of a control/indicator in the Front Panel.

 

Description:

Using Event Structure and based on the Shortcut Item to Remove Enum Control, the associated shortcut menu item on the Waveform Graph will be removed.

This uses the Delete Menu Items VI to remove the menu item.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI
  2. Click on Shortcut Item to Remove Control, the value shown in this Enum Control is deleted from the run-time menu of the Waveform Chart

Additional Information or References

11761.png

 

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

Jared S.
Applications Engineering
National Instruments

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

Comments
JG30100
Member
Member
on

This topic is very helpfull, thanks