09-12-2013 06:11 AM
Hello
I have a labview program with a while loop that gives me 3 new values every iteration. Lets say they are:
while(1)
{
i=i+1
x = i
y = i/2
z = -i
}
I want these to be plotted in a 3d graph, so that it will show a number of dots, updated in realtime, as the loop is iterating.
I'm a beginner with labview, so please explain how to do this as detailed as possible.
09-27-2013 05:46 PM - edited 09-27-2013 05:48 PM
See attached.
09-30-2013 01:21 AM
Hi,
Just as JKMM suggests, you can use a Line Graph. The key is to use shift registers to store the growing arrays of elements that you generate. For each loop, you add a new element to the x, y and z array before updating the Line Graph. I attach an alternative to JKMM's alternative with some property nodes that you can play around with.