View Single Post
  #5   Spotlight this post!  
Unread 12-07-2010, 09:45
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Future LabVIEW Features

Quote:
Originally Posted by Greg McKaskle View Post
In LV terminology, you are looking for a chart. A chart does incremental updates, and a graph replaces old data with the new. The chart accepts a large variety of numeric types including scalars, arrays, timestamped arrays, etc.

If you are looking for a generalized XY chart, we are a bit weak in that area. The charts assume increasing X axis, typically monotonically increasing, but timestamped data provides the info needed to scroll appropriately for triggered data.

Does this answer your question? Or can you describe what you want the display to do?
Greg McKaskle
I guess what I'm looking for doesn't exist yet (I'd like arbitrary X - not necessarily monotonically increasing).

One of my simulation tools simulated the path that the robot would drive in autonomous mode. I wanted to plot that path on an X-Y plane to be sure that it was going where I wanted it to. The robot could have X and Y coordinates that increase or decrease over the duration of the path (i.e. not monotonically increasing). The solution I came up with was to store the X-Y path data in large vectors during the simulation, then create a graph after the simulation was finished. That resulted in a bit of frustration (and a lot of "why won't this let me do that??"). I finally figured out how to do what I wanted, but it took me a while to get there.
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote