Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Cursors on a Waveform Chart-like Waveform Graph

Introduction

Cursors can not be used on Waveform Charts.  However, we can take a Waveform Graph and modify it to work like a Waveform Chart, as shown in this community example: http://decibel.ni.com/content/docs/DOC-4770 .  Then, we can add cursors and do whatever we need.  This example shows how to use two cursors to show the delta T between two different time values.

Steps to Complete

Set up a Waveform Graph and modify it to work like a Waveform chart using an array.  Then add cursors and add code to get the X position of the two cursors, subtract the two and display on an indicator to show the delta T.

Additional Notes

N/A

waveformchartcursors.png

Eric B.
National Instruments
Contributors