11-17-2009 10:45 AM
Hello,
I want the values from the array to be plotted continuously until the program quits.
I tried with a while loop and did not work, as you may see in the code, I want to start at -30 then go to -10 until -80 and repeat again -10 to -80 until the operator quits the program. Thanks in advance for your reply.
11-17-2009 11:22 AM - edited 11-17-2009 11:22 AM
Bebeto wrote:I want to start at -30 then go to -10 until -80 and repeat again -10 to -80 until the operator quits the program.
So why is the first array element zero? Maybe you want to delete that one. Otherwise, try something as follows.
(just drag the image to your block diagram and run it :D).
11-17-2009 11:57 AM
Hello Altenbach!
Thanks for your reply, I am having problems finding that waveform chart vi and also the first number I set it up to 0 since it does a funny slope when the zero is not present.
Can you please let me know where I can find the waveform chart, thanks.
11-17-2009 12:08 PM
11-17-2009 12:24 PM
Hello Altenbach,
What will I need to do to display it on a xy graph or like I had it in my original code, with the Plot XY. I am also intereseted in showing the steps.
11-17-2009 12:28 PM
11-17-2009 12:45 PM
For the sake of history, this started here.
Bebeto wrote:
What will I need to do to display it on a xy graph or like I had it in my original code, with the Plot XY. I am also intereseted in showing the steps.
In the final example that I showed you, the array of points is created as XY pairs. If you just connect the wire that goes to the Plot XY to an XY graph you get an XY graph with the steps.
11-17-2009 01:49 PM
Hello smercurio,
that is correct, however, I want to be able to plot the values over and over and display them over time also. In other words, that example does plot with the steps but it does not move nor repeat the values unless I write them in the array
11-17-2009 05:14 PM
11-18-2009 10:53 AM
Then in other words if I want to have a continuous graph I need to use a waveform chart and if I want to be able to plot with I need to use a Plot XY, but there is no such thing as a continuous graph that plots with steps?