Example Code

Apply Offset to Signals

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 demonstrates how to add an offset to a simulated signal then return those updated signals to a signal waveform graph.

 

Description

This code will show a simple way on how to add an offset to a signal, and how to change the plot name of the graph. These are two features that are normally requested for different purposes. We can easily allow the user to select the name of the plot, by changing the constant string in the block diagram to a control.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Select the Run button.
2. Review the block diagram.

 

Additional Information or References

undefined

A_Ryan
AES
National Instruments

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