LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Waveform or XY Graph Control

Solved!
Go to solution

Hi
I need a special Waveform Graph or XY-Graph Control in LV2009
Take a look at the following picture or attachment.
There are 12 channels and all channels have same X-axis (actually Time Axis)
But each channel has different and "separate"  Y-axis (Amplitude)
Is it possible to make it in LV2009? or LabVIEW has already something like that?

Sorry for my bad english !

 

sami - Copy.PNG

 

 

0 Kudos
Message 1 of 6
(3,563 Views)

The above picture may not be so clear

Please take a look at this one. (I drew it by myself in paint right now)

This is exatly what i am looking for.

The same X-axis (1D DBL Array data type) but multiple and separate Y-axis (each Amplitude axis has 1D DBL Array data type too) .

Here for 5 channels, but in my project i need atleast 15 channels.

Thank you

 

Separate Y-axis.png

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

I don't think you'll be able to make a vertical graph (at least not very easily), but you definitely can do what you want horizontally. Look into the "Mixed Signal Graph" and create a separate group for each graph.

Message 3 of 6
(3,534 Views)
Solution
Accepted by topic author mostafanfs

Ah, here we go. Use the "Active Plot" property and then set the "Y Scale Index" for each active plot.

 

Mixed Signal Plot.png

 

(Due to the way snippets work, the reference became a control.)

 

Also, for your application, you probably want to put it in a loop that runs through all 15 plots:

Mixed Signal Plot 2.png

Message 4 of 6
(3,531 Views)

Thank you

............ (Edited)

 

0 Kudos
Message 5 of 6
(3,512 Views)

Note that every new axis you add to your plot will decrease its performance.  If this is an issue, you may be better off using one plot for each set of data and overlay them so they appear to be a single plot.  Hide the axes (and most everything else) on all but one of them.

0 Kudos
Message 6 of 6
(3,493 Views)