Example Code

Font Editor Using LabVEIW

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

Download All

Overview

This VI runs through each label on the controls (and indicators) of a front panel to change all of the font aspects to the same ones.

 

Description

This simple VI utilises a range of property nodes. The first is one that accesses the properties of the front panel of this particular VI. A second property node is accessed to deal with the controls and indicators on the front panel. These controls form an array which is auto-indexed through a for loop. Within the for loop, a property node that deals with the controls is used. This vi runs through each label on the controls (and indicators) of a front panel to change all of the font aspects to the same ones.

 

Requirements

  • LabVIEW 2012( (or compatible)


Steps to Implement or Execute Code

  1. Run the Vi
  2. Choose the font name you want to change

 

Additional Information or References

Front Panel of Front Editor.vi

Img1.png

 

 

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

 


ShalimarA | CLA

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