LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spliting data to plot

Solved!
Go to solution

Hello,  I would like to ask how to split data to plot. According to the attached file, I want to split each data, flow No.1, flow No.2,...., Pressure No.1, Pressure No.2...to plot individually in the chart. I tried to use bundle but it came out only two lines for folw and pressure. Could you please help?

 

Thank you

0 Kudos
Message 1 of 14
(3,380 Views)

How do you know how many plots you need to display?

Is all data provided at once?

How is the timeline of the data defined?

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 14
(3,372 Views)

There are 6 elements in the array. I want each data to be ploted individually on the chart. Do you have any recommendations?

0 Kudos
Message 3 of 14
(3,369 Views)

Hi

 

What is the 'No' input in the cluster?

Do you need two separate plots for 'number' and 'value' of each flow or pressure parameter?

you have only one value for each flow or pressure parameter. so, how do you plan to plot for flow 1, flow 2 etc? each plot would have only one value/data

 

 

and a note: you have two y scales. the plots will have to be assigned to the respective Y scales using property nodes. else, all the plots would be using the 'flow' scale by default.

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 4 of 14
(3,366 Views)

each No. (number) is assigned to each parameter. So it is Flow1, Flow2, Flow3, Pressure1, Pressure2, Pressure3. There will be 6 lines in the chart. I want the user to be able to add the number of parameter; for example, Flow4 so Flow4 line will appear in the chart as the user modifies in the data mainstreram,

0 Kudos
Message 5 of 14
(3,361 Views)
Solution
Accepted by topic author Bombbooo

Try the attached vi

Regards
Freelance_LV
TestAutomation Consultant
Message 6 of 14
(3,344 Views)

Thank you so much 🙂 That really helps...

 

0 Kudos
Message 7 of 14
(3,340 Views)

What about if I want 2 y-scales, Flow and Pressure? How can I program each value to be plotted corresponding to each axis? For example, when the user add another value, flow 4, the graph of this value should be plotted to the correct axis. What about if I have different unit; for example, flow l/hr, or pressure pascal? The plot should be corresponding to all input values. Hope you understand 😞

 

Hopefully It doesn't interrupt you too much because of asking a lot but I really need helps....

 

Thank you so much

0 Kudos
Message 8 of 14
(3,328 Views)

here is one way..

but when you change the Active status you will need to clear the chart data.

So you should define first all usecases of that display ( change during runtime, new channels during runtime? always keep and display all data? only last 10k values etc. when a channel gets active during runtime, what should happen?)

Then think about what data is needed, where is it stored , how much data will there be?

Learn about the action engine , peresent here in the forum.

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 9 of 14
(3,313 Views)

Could you please save into 2010 version? I can't open it? Thanks

0 Kudos
Message 10 of 14
(3,310 Views)