Example Code

Select Which 2 Signals to Display on an XY-Graph

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
To select which 2 signals to display on an XY-Graph.

Description:
I have created a VI which allows the user to select 2 signals to display on an XY Graph. The way the code works is by using the 'Select Signals' Express VI. This VI allows you to pass out signals specified by passing a 0.5 into the 'selector' input in the same index as the required signal. The signals can be selected by enumerated controls which can be populated with the user's signal names.

Instructions:

To implement this example:

  1. Run VI
  2. Choose from Sensor 1 and Sensor 2 which of the Signals you want to plot on XY graph

To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

2017-11-03_10-20-04.jpg2017-11-03_10-21-53.jpg

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

National Instruments - Tech Support

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