LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have waveform graphs in Labview which are actually pictures of eddy currents from experiments. How can I activate my cursor and select part of the graph and crop it? Are there any examples I can use? Please help!

Megan,
If I have understand you well, you have a graph and want to take out a part of it (as a BMP?). In this case, you can use the zoom to decide which part on the graph to select, and then use SnapView from Gtoolbox at gtoolbox.topcool.net to make this graph a BMP. You must be careful with the position of the graph, which you must define in screen coordinates. If i misunderstood you tell me.
Hope this helps
0 Kudos
Message 2 of 7
(3,346 Views)
I meant that I was taking the graph and cropping it to make a sub array of the same graph by selecting a portion of the graph. Sorry for the confusion! Any suggestions you have would be quite helpful!
~Megan
0 Kudos
Message 3 of 7
(3,346 Views)
Hi, where can I find the "cursor indexes"? And can I save the coordinates of cursor?

In addition, I am not sure how to do something below about graph. Hope that you can help me out. Thanks. 🙂

----------------------------------------------------
1. Smooth the raw data by different amounts

2. Add a constant to either the x- or y-axis values of any plot.

3. Multiply the x- or y-axis values of any plot by a constant.

4. Divide one plot by another

------------------------------------------------------
0 Kudos
Message 5 of 7
(3,346 Views)
Depending on which version of LabVIEW that you're using, the cursor indexes are available from either an attribute or property of the graph. As far as the numeric operations, a graph's attribute/property node also has such things as the start and increment that can be manipulated at run time. Also, since the input to a graph is an array, you can use the normal math functions on the array to add, subtract, multiply, divide by constants or another array.
0 Kudos
Message 6 of 7
(3,346 Views)
Megan -

I have attached an example that returns only the data that falls between the X max & min labels. If you zoom in on a particular portion, the data that is returned is only the data that falls within your zoomed X axis.

Hope this is of some help.

Jim
0 Kudos
Message 7 of 7
(3,346 Views)