Example Code

Output Data Points on Graph by Pressing Enter in LabVIEW

Code and Documents

Attachment

Overview:

This VI exemplifies how to capture the data points of a waveform cursor by an user event.
Description:

This VI simulates a signal and graphs it. The cursor on the graph is set to single-plot, so that it is "stuck" on the data points of the graph. When Enter is pressed on the keyboard, the cursor position is put into an array and displayed on the front panel. The stop button stops the program.
This could be useful to help the users capture important data points manually.


Requirements:
LabVIEW Base Development System.

 

Steps to Implement or Execute Code:
1. Open the attached VI named “Waveform Cursor Values to Array LV 2012 - NI Verified.vi”.
2. Run the VI.
3. Move the Cursor to the decide position.
4. Press the Enter key on the Keyboard.

Additional Information or References: 



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

 

 

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