Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   LabView and Data Acquisition (http://www.chiefdelphi.com/forums/forumdisplay.php?f=150)
-   -   Labview dashboard and multiple variables (http://www.chiefdelphi.com/forums/showthread.php?t=45210)

Joe Ross 09-03-2006 14:22

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.

Russ Beavis 10-03-2006 11:42

Re: Labview dashboard and multiple variables
 
1 Attachment(s)
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

Joe Ross 15-03-2006 21:55

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.


All times are GMT -5. The time now is 00:16.

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