LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot legend

Hi,
 
i'm trying to combine several waveform graphs in Mixed Signal Graph. Then i realised that i couldn't see the individual graphs such as 'Wvfm 0->Plot 0' etc, i only see 'Plot 0'.
 
How do i achieve to get individual graph displays at Mixed Signal Graph? Did i do something wrong?
 
Thank you.
 
Using Labview 8.0


Message Edited by microes on 01-30-2008 12:56 AM
Download All
0 Kudos
Message 1 of 10
(4,317 Views)

Hey Microes,

Thank you for contacting National Instruments.  I am having a hard time understanding what you are trying to do.  Is there anyway you could create a simple example VI that shows what you are trying to accomplish, and what results you are seeing?  I am having a hard time with just looking at the screenshots.

Also, the LabVIEW Help is always a great place to look as well if you not checked that out yet!

Regards,

Kevin H

National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 2 of 10
(4,257 Views)

Hello,

i have several waveform signals which i want to be represent in 'Wvfm 0->Plot 0, Wvfm 1->Plot 0' etc (see attached 2.jpg) but when i wired in that manner, what i see at plot legend is 'Plot 0' (see attached 4.jpg).

I looked through Labview help on Mixed Signal Graph but i can't find anything helpful.

Is it something wrong with my coding?

regards

 

0 Kudos
Message 3 of 10
(4,248 Views)
An image of a small section of code is not enough to really tell anything. How did you create the graph shown in 2.jpg? That looks like what would happen if you combined all three with a bundle and wire the result to the combined signal graph - exactly how you have it wired in 1.jpg.
0 Kudos
Message 4 of 10
(4,225 Views)

Hello Dennis Knutson,

Shown in 1.jpg, i connected the XY graph to the bundle and mixed signal graph because i wanted to capture the screen shoot of my desired outcome for my program which is shown 2.jpg. But when i un-wire XY graph, i got result shown as 4.jpg instead. Couldn't the mixed signal graph display same elements in individual graph readings?

regards

0 Kudos
Message 5 of 10
(4,217 Views)
No. When you bundle two arrays together, you've created an XY graph. If you want to show two separate plots, then you use the Build Array function. To show two separate plots, you don't even need the mixed signal graph. A regular graph will work the same.
0 Kudos
Message 6 of 10
(4,211 Views)
Hello,
maybe i'm not being specific in what i'm trying to achieve here. Forget about the XY Graph, my final program will consists of several waveform graphs which i wanted it to appear like 'Wvfm 0->Plot 0', 'Wvfm 1->Plot 0' etc and different signals represents by different colors at one plot area.
But somehow i couldn't get it right.
0 Kudos
Message 7 of 10
(4,196 Views)
Hi microes,

did you have a look at the context help for a waveform graph? Did you read Dennis' messages carefully?
See example with 2 plots in one graph...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 10
(4,182 Views)

Hello GerdW,

thanks to your vi, i can understand much better. But i'm curious to know why couldn't i use the Mixed Signal Graph to see the same desired results.

Thank you.

0 Kudos
Message 9 of 10
(4,169 Views)
Hi microes,

now with waveform AND mixed signal graph...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 10 of 10
(4,165 Views)