01-14-2015 10:22 AM
Hello all,
I have been reading a lot of older discussion on here about drawing on graphs and overlaying picture's and x,y graphs on intensity plots, but none have seemed to be exactly what I have been looking for. While searching I stumbled across this link, http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-axis-swap-for-Waveform-charts-graphs-and-intensi... , which contains a picture of exactly what i'm trying to do.
I'm wondering how you go about generating those x and y profiles?
using LV 13,
Thanks!
01-14-2015 01:12 PM
hi winterfresh11,
I guess by multplicating two basic mathematical functions, e.g. something like this:
Regards,
Alex
01-14-2015 02:19 PM
The data underlying an intensity graph is a 2D arrary, so you should be able to pipe that array into an Index Array operator and extract either a row or a column, which you can then plot as a line trace.
01-14-2015 04:10 PM
@dmsilev wrote:
The data underlying an intensity graph is a 2D arrary, so you should be able to pipe that array into an Index Array operator and extract either a row or a column, which you can then plot as a line trace.
I didn't think of that ... @winterfresh11, would you please specify what's your meaning of "profile"?
01-15-2015 10:27 AM
I found a way very similar to that. If you add a cursor to the intensity graph, use a property node to get the coordinates of that cursor and then do what you described dmsilev you can generate a live feed of the data along thoes two cursor lines, I guess that is what I ment by profile, in waveform graphs if everything is in a while loop.
In that picutre from the url he has a rotated graph so the y axis waveform fits along the y axis of the intensity plot. This seems like it should be simple but I dont know if it is
01-15-2015 12:17 PM
winterfresh11 a écrit :
I found a way very similar to that. If you add a cursor to the intensity graph, use a property node to get the coordinates of that cursor and then do what you described dmsilev you can generate a live feed of the data along thoes two cursor lines, I guess that is what I ment by profile, in waveform graphs if everything is in a while loop.
In that picutre from the url he has a rotated graph so the y axis waveform fits along the y axis of the intensity plot. This seems like it should be simple but I dont know if it is
upload your vi icluding some sample data set and we will help you.