Go to Post You can never have enough teamwork. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition > LabView and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-03-2006, 14:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,556
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Labview dashboard and multiple variables

Is it possible to have a graph that displays two different variables? I'd like to display one of the userbyte variables on top of another.

I also have a case where I'd like to display 2 bytes of data that is sent in two seperate bytes in the same variable. If I can figure out how to access two of the bytes at the same time, I could mathematically combine them and display the result.
Reply With Quote
  #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
  #3   Spotlight this post!  
Unread 15-03-2006, 21:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,556
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Labview dashboard and multiple variables

Thanks With the example and descriptions you gave, I'm able to add the data I want to the dashboard.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview Video Tutorial? Dashboard Chris_Elston National Instruments LabVIEW and Data Acquisition 21 25-01-2008 00:29
Dashboard Port Decoder whytheheckme Control System 39 06-03-2006 18:14
LabView Dashboard brummer_13 LabView and Data Acquisition 7 08-02-2006 21:43


All times are GMT -5. The time now is 08:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi