01-29-2014 03:29 AM
Dear sir
I want to plot two signals (one is current and other is voltage). How I can plot current vs voltage. For example, Attach is the general diagram in which one vi is Simulated Signal and other vi is Simulated Signal 2. So how I plot output of simulated signal vs simulated signal2.
Kind Regards
Muhammad Irfan
01-29-2014 03:43 AM
You need to bundle each x and y point into a cluster and then build an array of the xy pair clusters. You can then pass this to the XY graph.
OR
Pass your X data and Y data into the "BUILD XY GRAPH" express VI. (this is the EX XY GRAPH in your graph palette).
01-29-2014 04:22 AM
Dear Sir
I have try according to your instructions. But it is giving error of different data type. Attach is the block diagram for your reference.
01-29-2014 05:26 AM
I cannot open the VI as I am using an older version of LabVIEW. If you save it for version 11 I can take a look.
01-29-2014 08:12 AM
You just made a longer 1D array instead of making a 2D array. Everything you need is clearly explained in the LabVIEW Help file, which is immediately available by right-clicking on the function(s) of interest and selecting Help.
Cameron
01-29-2014 09:49 AM
Hi, Tronoh,
I replace your waveform graph with xy graph, and then insert the Convert to Dynamic Data.vi within the dynamic data flow, convert it into 1D double array; then bundle both signals and wire the result to the graph.
Is it what you want?