LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

selecting traces from a waveformgraph

Does anyone know how i can select two single traces out of ten from a
waveform graph with a cursor to do some calculations with it? The graph is
filled with 10 traces (or 10 1d-arrays) as a 2d array.
0 Kudos
Message 1 of 3
(2,262 Views)
Not sure if this helps.
You may need to modify the code.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 3
(2,262 Views)
> Does anyone know how i can select two single traces out of ten from a
> waveform graph with a cursor to do some calculations with it? The graph is
> filled with 10 traces (or 10 1d-arrays) as a 2d array.
>

One approach would be to give the user two cursors that are set to snap
to plot. This will allow them to move between plots, but they will
always be located on a plot. I'm not sure what it means if they place
the cursors on the same plot, but you could read the cursor property for
which plot it is attached to and reset it if you need to.

Another option is to use a single cursor set to snap and have a button
that selects it. Keep the last two in a two element array.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,262 Views)