View Single Post
  #2   Spotlight this post!  
Unread 10-03-2006, 11:42
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Labview dashboard and multiple variables

Joe,
I've attached an example VI that may help illustrate the capabilities. In the VI, the run-time of the VI is used to calculate sine and cosine outputs (ie two different values similar to the two userbytes that you want to plot). You'll notice that there are 3 different graph types used in the example - waveform chart, waveform graph and XY graph. They're very similar but there are subtle differences which can become useful to exploit in certain applications.

Waveform charts are typically used to append single data points (of "N" different variables if desired) to a rolling graph. I don't think that the x-axis is very flexible - all samples are plotted vs "sample number" and not "time". I don't think that the x-axis can be changed from "unit" demarcations.

Waveform graphs are typically used to plot arrays of data with fixed x-axis demarcations (eg 25ms marks as in the example).

XY graphs are typically used to plot arrays vs. "each other".

LabVIEW also supports a variety of more elaborate graphing functions. My best advice - have fun using trial and error and ALWAYS keep the Context Help window open (Help -> Show Context Help or press the big ? mark button on the toolbar).

Good Luck!
Russ
Attached Files
File Type: vi graph example.vi (23.6 KB, 143 views)
Reply With Quote