Example Code

Calculate Delta X with cursors on a 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

Download All

Overview
To demonstrate how calculate delta X between two cursors in waveform graph

Description:
The purpose of this example is so you can programmatically calculate the delta X on a graph using the cursors.

Steps to implement or execute code
To implement this example:

  1. Run the VI
  2. Adjust the cursors


To execute this example:

  1. Install the required software.
  2. Run the VI


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

2017-11-01_13-16-55.jpg2017-11-01_13-17-05.jpg

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

Miriam
Field Applications Engineer
NI Colombia
CLD

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