04-16-2010 08:19 AM
What i'm doing wrong? Why i have these graphs in such strange colors???
04-16-2010 08:52 AM
Kriziz wrote:What i'm doing wrong? Why i have these graphs in such strange colors???
Answer to first question: nearly everything?? SCNR
Question: What do want to do?
How many graphs do you expected to create?
Without commenting the style I did a small modification (shifted x each interation ) ...
and here a mod to get the same result without the over(under)drawing the plots
Maybe you didn't want to create 30 plots?
04-16-2010 09:05 AM
I want to create 3 different plots on same graph, each plot has got 10 points. Every point should be displayed in "real time". Of course, example is simplified.
04-19-2010 02:32 AM
Hi Kriziz,
In general I agree with Henrik. He didn't comment, but I have to - especially if you are asking for help from other people and you are providing the code, be sure your code is not one mess. In the least use Block Diagram Cleanup, so your code is not so messy! (sorry, but readable diagram it will help all of us).
In general what you want to do is very simple - check XY graph topic in LabVIEW help (Types of Graphs and Charts). If you open this help from LabVIEW, you can directly open examples showing how to plot multiplot graphs.
And to answer yor question on what you do wrong - you build and keep Multiplot XY Data too rearly (too nested). Instead of having feedback node inside with Multiplot XY Data in inner, loop move it out. I preffer shift registers, so you can have a look on implementation with them:
Regards,
Stefo
04-19-2010 03:12 AM
here is one way...
04-19-2010 06:44 AM
Yes, that's the more proper code with considering the memory (mostly on RT).
Greetings to Germany ![]()
Stefo