07-27-2010 12:27 PM
07-28-2010 03:15 AM
Hi!
To get the y-values of the other Plots change the "Cursor" -> "Cursor.Plot" property and then read the Cursor.PosY value.
Greets CtheR
07-28-2010 09:58 AM
Thanks, CtheR.
I tried that, but it doesn't work, it always returns the same value.
07-28-2010 12:42 PM
Hmmm....
can you post sample code?
07-28-2010 02:54 PM
Hi again.
I isolated a mixed signal graph with some sample data: 5 plots in 1 plot area.
I added a multiplot cursor and changed its properties to "Snap to all plots".
The legend cursor shows the Y value for all the plots, still the property node returns the first non-interpolated value.
07-28-2010 03:22 PM
Ah ok.
You mixed up two different properties.
You've chosen "Mixed Signal Graph"->"property node"->"active plot"
but you have to use "Mixed Signal Graph"->"property node"->"cursor"->"cursor plot"
(Picture in my first post)
This will work.
Greets CtheR
07-28-2010 07:08 PM
Not really.
That property moves the cursor to the nearest data point of the selected plot, but I need the inteporlated values of the non selected plots.
I guess I'll have to interpolate by my own, I just thought that if those values where there, there should be a way to retrieve them.
Thank you.
07-29-2010 01:23 AM
Graph1 -> move to position 1 -> read X value -> change Cursor.Plot to graph2 -> return cursor to the formerly read X value -> read interpolated y value of graph2
that's how I'd try it...
07-29-2010 01:57 AM - edited 07-29-2010 02:00 AM
Ok, about the interpolation. I think it does not interpolate anything.
Plus: the jumping of the cursor seems to be related to the different starting times of the signals.
I've changed your VI a little, please tell me what you think. I'm very interested.
07-29-2010 02:46 AM
I have to clearify:
by "I think it does not interpolate anything" I mean, that you cannot get the interpolated values shown in the cursor list.
So...if setting the graphs to the same t0 and dt may not be possible in your case...it comes down to interpolating yourself, as you said.
Bye CtheR