LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a continuous XY graph

Solved!
Go to solution

Hi all,

 

I'm very appriciate who could give me some help on the following problem.

 

I plan to input 3 continous datasets into a XY graph as the following left image shows. The problem is the XY graph just shows the 10 data points generated in a For loop (see the right image), what I need is to show all the data points genereated before I click the STOP button.

 

Best regards,

Vincent

 

BlockdiagramMutipleXY.png

 

FrontPanelMutipleXY.png

0 Kudos
Message 1 of 5
(7,544 Views)
Solution
Accepted by topic author sciencemouse

Hi,

 

Use a shift register with your while loop.

 

But I'm not sure what you are trying to do is the best thing.

 

Why don't you use a chart ?

 tres.png

 

 

Regards,

Da Helmut
Voir le profil de Maxime M. sur LinkedIn - View Maxime M.'s profile on LinkedIn
Message 2 of 5
(7,538 Views)

Hi Helmut,

 

Thank you very much for your kind help and I could create a continuous XY Graph now. But the new problem is how to keep the same color for a plot. It seems that different sections of a plot have different colors when I append the new generated data points from the For loop.

 

 

mutipleXY_vincent.png

 

 

And could you please resave the vi in you previous post for the previous veresion of LabView, such as LabVIEW 8.5?

 

By the way, I have to use the XY Graph for a customer of my company wants it.

 

Best Regards,

Vincent

 

 

0 Kudos
Message 3 of 5
(7,500 Views)

Hi ScienceMouse,

 

You can configure the XY Graph by right clicking on it in the front panel and selecting "Properties". Then you can set various parameters including the ones you want (sorry I use a French version of LabVIEW).

 

parametres.PNG 

 

 

Here is the VI in version 8.2.

 

 

Regards,

Da Helmut
Voir le profil de Maxime M. sur LinkedIn - View Maxime M.'s profile on LinkedIn
0 Kudos
Message 4 of 5
(7,489 Views)

Hello to all.
Sorry for the intrusion.
I have to create a graph from a table with three columns. The graph should have the elements of the first two columns on the x unified those of the third column on the y axis.
Can you tell me first how to unify the first two columns, and then how to put everything in a chart?
Thank you very much.
I attach the image on the part of my program in question.

Download All
0 Kudos
Message 5 of 5
(6,702 Views)