07-14-2015 12:51 PM - edited 07-14-2015 01:02 PM
Hi,
I'm new here, Sorry if i have selected wrong Location.
I want to get Y-axis value (in a numeric Control) by providing X-axis Value using Wave graph.
i want to do calculations with the obtained value.
i have attached File and Snapshot.
07-14-2015 03:24 PM
You can use the 'Extract Portion of Signal' Express VI to select one sample starting at your selected time. But it's also possible to do it without the Express VI by getting the raw components of the signal.
Both of these solutions are shown in the attached VI.
07-14-2015 03:24 PM
Well, you are using the Dynamic Data Type, which I almost never use, but if you convert the data to a WaveForm (using From DDT on the Signal Manipulation Palette, which is a choice when you right-click on the DDT Wire), you should be able to do this. Do you know about how Waveforms are stored? They are a Cluster, with t0 being a TimeStamp for the start of the Waveform, dt being the time step, and Y being the samples. So if you want a point at 0.5 seconds and dt is 0.001, you would pull out the point at Index 499 (offset 0) from the Y array.
Bob Schor
07-14-2015 03:30 PM - edited 07-14-2015 03:41 PM
Thanks
07-14-2015 03:34 PM - edited 07-14-2015 03:35 PM
Can you please attach .vi file
Bob Schor