ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple channels on graph

Hi, I am trying to display 2 2-D arrays on 1 graph. I found many examples on the forums that seemed to be what I was looking for, but I just cannot get it to work.

Can anyone maybe make a example (LV 7.0) of displaying 2 2-D arrays one one graph?

Thanks a lot!

Ryan
Ryan

LV 7.1
0 Kudos
Message 1 of 7
(2,966 Views)
Could you explain why each channel is a 2D array? What is in the second dimension? What kind of graph are you trying to use (Waveform, xy graph, etc.)

It would be easiest if you could attach a simplified version of what you got so far. Put the two arrays into diagram constants before saving and let us know what kind of graph you want.
0 Kudos
Message 2 of 7
(2,962 Views)
I guess I should clarify.

It really doesnt have to be 2 2-d arrays now that I looked at it more.

It will be an array (n=15) and a constant. I would like the array of 15 elements to be a bar graph. The constant needs to create a horizontal line (a "threshold") so that the user can see if the bars are above the line.

I hope this helps...I will try and post something soon.
Ryan

LV 7.1
0 Kudos
Message 3 of 7
(2,956 Views)
Here is a simple example of what I want to do...I don't think it should be difficult, I am just not figuring it out.

Thanks for the help.
Ryan

LV 7.1
0 Kudos
Message 4 of 7
(2,954 Views)
0 Kudos
Message 5 of 7
(2,952 Views)
Yes that is exactly what I was looking for. I missed the initialize array...

Thanks again Dennis and altenbach

Message Edited by esa_paranoid on 06-03-2005 01:01 PM

Ryan

LV 7.1
0 Kudos
Message 6 of 7
(2,950 Views)
Here's an even simpler way 🙂

Message Edited by altenbach on 06-03-2005 11:57 AM

0 Kudos
Message 7 of 7
(2,946 Views)