Example Code

How to Select Which Signals to Display and Save Using 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 example chooses which of those channels to save and display depending on user input.


Description
This example we are using an Express VI to simulate a signal.  Based on which Booleans the selects, the program will index through the signals and build a new one.  This new array is what is inputted to the graph indicator and also to the Write to Spreadsheet File 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Unzip the attached folder to your computer
  2. Open the VI "Select Waveforms to Display and Save 2012 NIVerified"
  3. Run the program

 

Additional Information or References
VI Snippet

3-182.png

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

Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

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

Comments
Maciej_Antonik
NI Employee (retired)
on

Wouldn't it be easier to use Select Signals Express VI?

Best regards,
Maciej Antonik
National Instruments Poland
Tejinder_G.
NI Employee (retired)
on

Actually, you're right!  I guess I didn't search the Express Palette before writing this.  Good catch.

Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.