LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data points

I have a graph which I got it from Oscilloscope. I want to extract x and y components(Data points) of the graph. Can any one suggest me a methide to do this?

THanks

0 Kudos
Message 1 of 6
(2,513 Views)

How did you get it from the oscilloscope? (cell phone picture of the oscilloscope? with a LabVIEW program?)

 

If you graph it in LabVIEW, the data is in the wire, just branch it and extract it. What kind of graph is is (waveform, xy, etc.).

 

You can also right-click the graph and select "export...export data to clipboard" and similar.

0 Kudos
Message 2 of 6
(2,508 Views)

Thanks

 

How can i branch it and extract it. 

 

I want to do that from the waveform where u can see attched.

 

Thanks

0 Kudos
Message 3 of 6
(2,503 Views)

This is not a waveform, but a mixed cluster.

 

You need to attach the VI because we cannot tell what the exact datatype is.
(It could be a cluster of an x and y array feeding into an xy graph or a cluster of (x0, dx, [y]) feeding onto a waveform graph. No way to tell form the picture).

 

Once we know what it is, extracting the data is trivial.

 

Easiest suggestion:

 

  1. Run your VI so the graph contains data
  2. right-click the graph terminal and select "create constant"
  3. copy the created constant to a new VI.
  4. Save the VI under a new name and attach it here. 
0 Kudos
Message 4 of 6
(2,496 Views)
Most of the current scope drivers usr the waveform data type and you would use the Get Waveform Components function. Older drivers used a similar cluster with t0, dt, and the y array. Use an unbundle by name and you've got everything you need, though you'll have to create your own x array of that is what you want.
0 Kudos
Message 5 of 6
(2,474 Views)

Here's one way to get the x and y arrays using unbundle:

 

 

 

0 Kudos
Message 6 of 6
(2,464 Views)