‎03-18-2009 11:16 AM
‎03-18-2009 11:22 AM - edited ‎03-18-2009 11:22 AM
it seems that the graphics and charts avaiable are only in time domain.
Not true. a different class of graphs, called "X-Y" graphs is what you need.
You feed it two arrays (Speed[ ] and Torque[ ]), or you feed it an array of clusters { Speed | Torque}.
Either way it makes an X-Y graph for you.
You probably want to turn off interpolation (lines between the points), as it makes no sense in this case.
Look in the examples.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
‎03-18-2009 11:33 AM
Nice new look there for you Steve,
[Set TongueInCheek =True]
not quite a crabby as the old one, but I don't now if its wise to be sporting a big C.
"We don't take kindly to C around these parts."
[Set TongueInCheek =False]
Just having fun,
Ben
‎03-18-2009 12:51 PM
You really DO follow me around, don't you, Ben? ;->
Yeah, my newly hired marketing director insisted that I take advantage of all these posts and get the name and logo out there.
At least the logo doesn't contain "+ +".
Blog for (mostly LabVIEW) programmers: Tips And Tricks
‎03-18-2009 01:13 PM
CoastalMaineBird wrote:You really DO follow me around, don't you, Ben? ;->
Yeah, my newly hired marketing director insisted that I take advantage of all these posts and get the name and logo out there.
At least the logo doesn't contain "+ +".
I follow everyone when they are this forum. I just make a point of reading your posts because you make me laugh.
If you upload your icon to this thread it will still be visable in the event your machine goes down for maint. etc.
Take care,
Ben
‎03-18-2009 02:05 PM
First I would like to thank for the quick reply
I found that xy graphic could really help me.
Now I can manage to plot a point (x,y) =(rpm, Torque) without problems, however, I need to plot a polinomial function where Torque is a function of the rpm. I´ve got an expression from the likes of
Torque(rpm)=a*rpm^2 + b*rpm + c. That is something I use for my own control and I need to plot it on the same xy graph where I plot the point (x,y) =(rpm, Torque).
I ask if you could help me on to plot the polinomial fuction, because the for loop isn't working (at least I couldn't manage myself...) and there is also the problem of plot it the xy chart
Thanks again
‎03-18-2009 02:07 PM
fadetoblack wrote:
First I would like to thank for the quick reply
I found that xy graphic could really help me.
Now I can manage to plot a point (x,y) =(rpm, Torque) without problems, however, I need to plot a polinomial function where Torque is a function of the rpm. I´ve got an expression from the likes of
Torque(rpm)=a*rpm^2 + b*rpm + c. That is something I use for my own control and I need to plot it on the same xy graph where I plot the point (x,y) =(rpm, Torque).
I ask if you could help me on to plot the polinomial fuction, because the for loop isn't working (at least I couldn't manage myself...) and there is also the problem of plot it the xy chart
Thanks again
Please post the code you have developed to this point. We can take a look and advise based on where you need the help.
Ben
‎03-18-2009 02:09 PM
Be aware that multiply, add, and a lot of other functions will work directly on arrays.
IOW, an array of 100 numbers X 5.0 + 3.14159 = an array of 100 numbers.
You don't need a FOR loop for that.
Blog for (mostly LabVIEW) programmers: Tips And Tricks