LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph

Solved!
Go to solution

Capture.PNG

Can someone show me how to fix this?

Most of the references are in ORANGE Capture.PNG

 

 

 

Best regards,
Krispiekream
0 Kudos
Message 1 of 10
(3,793 Views)

Capture.PNG

 

I need the ORANGE "Pot Graph" indicator instead of the purple. how would I change the right block diagram to work?Capture.PNG

Best regards,
Krispiekream
0 Kudos
Message 2 of 10
(3,787 Views)

Attach and post your actual code, not pictures of code.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 10
(3,774 Views)

Well, the purple is an array of clusters while the orange is just a 2D array with lots of duplicate information.

 

To create the orange from the purple, just autoindex on a FOR loop , unbundle, build, and concatenate. Should be trivial.

Message 4 of 10
(3,771 Views)

sorry. here you go.

thanks for your help

Best regards,
Krispiekream
0 Kudos
Message 5 of 10
(3,753 Views)

how do I build it in a 2d array vs. bundling it to a cluster and then unbundle it.

it seems redundant.

Best regards,
Krispiekream
0 Kudos
Message 6 of 10
(3,743 Views)
Solution
Accepted by krispiekream

There are missing subVIs.

 

Your ramp generation seems a bit elaborate. Compare here:

 

Ramper.png

 

To convert the current array of clusters (xy graph data) to a 2D array with the same information according to your old code, just do something like this:

 

XYTo2D.png

 

(Of course this "solution" is specific to your data and makes certain assumptions. It might give undesired results, e.g. if the various plots have a different number of points) 

Message 7 of 10
(3,740 Views)

Capture.PNG

I think I got it.

Thanks

One last question.

Can you show me how get rid of green line on graph?

 

Best regards,
Krispiekream
0 Kudos
Message 8 of 10
(3,722 Views)

These are your X-values. If you don't want them, don't include them in the 2D array!

 

NoX.png

0 Kudos
Message 9 of 10
(3,720 Views)

Awesome!!!

That does the trick!!

THANK YOU SO MUCH!

Best regards,
Krispiekream
0 Kudos
Message 10 of 10
(3,715 Views)