03-19-2012 06:23 AM
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
Solved! Go to Solution.
03-19-2012 07:10 AM
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?
03-19-2012 07:16 AM
There are 6 elements in the array. I want each data to be ploted individually on the chart. Do you have any recommendations?
03-19-2012 07:37 AM
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.
03-19-2012 07:46 AM
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,
03-19-2012 10:32 AM
Try the attached vi
03-19-2012 10:52 AM
Thank you so much 🙂 That really helps...
03-19-2012 06:26 PM
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
03-20-2012 05:00 AM
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.
03-20-2012 05:20 AM
Could you please save into 2010 version? I can't open it? Thanks