Example Code

Save/Load Front Panel Configuration Example

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 example demonstrates how to save and load the current configuration of a front panel using a binary file.


Description: This example demonstrates how to save and load the current configuration of a front panel using a binary file.  This allows the user to quickly save a configuration without needing to manually setthe defaul values for the controls.  Also, the save file can be distributed with the application, and used to back up configurations.


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


Steps to Implement or Execute Code:

1. Run the VI.
2. Use controls to manage controls' state.


Additional Information or References:

 

SaveLoad Front Panel Configuration Example FP.png SaveLoad Front Panel Configuration Example BD.png


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

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD

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

Comments
Todd S.
NI Employee (retired)
on

Please add a few tags to this document and rename the attachment to include the LabVIEW version.  "_lvXX.vi" is good enough.

Todd S.
LabVIEW Community Manager
National Instruments