02-12-2009 05:38 PM
Hello,
I have a sample code of data where I collect data over various devices. Can you help me to update 'GRAPH 2' to show all the plots on that graph. However, I would like GRAPH 2 updated after each completed run of the outer for loop. [So after the 3rd iteration of the outer loop (defined by 'outer loop'), 'GRAPH 2' should have 3 plots and so on...]
Thanks,
hiNi.
Solved! Go to Solution.
02-12-2009 09:03 PM
Move the bundler in the inner loop to outside the loop and wire to it an array of x values (top terminal) and an array of y values (bottom terminal). Wire the resulting cluster to graph 1. Also accumulate this cluster into an array and wire it to graph 2.
Mike...
02-13-2009 08:37 AM
I tried what you said, but I still can't seem to get it to work. I can't get graph2 to update after each iteration, and also keep the last plots on the graph.
hiNi
02-13-2009 08:59 AM
02-13-2009 09:14 AM
Hello hiNI
Do you want something like this?
02-13-2009 09:34 AM
EXACTLY WHAT I WANTED!!!
THANK YOU!!!!
02-13-2009 10:58 AM
Thanks for your help.!!!
I have one more request...
How can I dynamically change the plot names? I extract a name after each iteration and would like to give the plot that name in graph's 2 legend.
02-14-2009 03:40 PM
11-28-2016 03:06 PM
i am trying this for the following use to plot waveforms but not successful can anyone help
11-29-2016 10:37 AM
Hello,
It is usually in everyone's best interest in posting new questions in a new forum post. This keeps forums focused on a single question from getting too long, and it will help you become more visible to get quicker help.
I attached a modified version of your code, though. There is some documentation included in it that should explain it a little more.
Best,
Shamik C
Applications Engineer
National Instruments