06-02-2009 03:09 PM
I am making a simulation to a vehicle robot motion, so I have three outputs, where two of them are the X and Y coordinates. So I want to take these two outputs to represent them on the X-Y graph so who see the graph will find a point moves on the XY graph plotting a line or curve whatever will be the plot until it reached a desired point the program will stops where the condition is met.
My problems now are:
As a note when I activate highlight execution I find the program do what I want but I can't plot that on the graph.
Untitled file is a simple example of what I did and Untitled 1 is a portion of my real code.
Solved! Go to Solution.
06-02-2009 03:16 PM - edited 06-02-2009 03:19 PM
My guess is that because you're plotting only a single point, that the loop executes so fast that you can't track each point. That's why you can see it when you turn on execution highlighting. Add a delay if you want to keep the single point approach. Otherwise, wire a false constant to the Reset? input on the Build XY graph and you'll be able to see all of the points.
P.S. How in the world are you wires so bendy.
06-02-2009 03:27 PM
06-02-2009 03:39 PM
06-02-2009 03:50 PM
06-02-2009 05:06 PM
I do it and it works very good. I attach the false constant to the reset option and I used wait function to decrease the speed of execution.
06-02-2009 05:50 PM
06-03-2009 12:27 AM
06-04-2009 11:08 AM
06-05-2009 09:48 AM