Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   LabView and Data Acquisition (http://www.chiefdelphi.com/forums/forumdisplay.php?f=150)
-   -   Pull data out of Case Statement (http://www.chiefdelphi.com/forums/showthread.php?t=53724)

b_mallerd 08-02-2007 20:54

Pull data out of Case Statement
 
Hi everyone, I have a question about the case statements in the supplied Labview Application:


Lets say I wanted to put more than 1 data on a graph, for example, PWM01 and PWM08. Does anyone know how I can pull data from different Case Statements and put them together on a graph without causing an error?

Joe Ross 09-02-2007 12:25

Re: Pull data out of Case Statement
 
1 Attachment(s)
I'm by no means a labview expert, but here is how I got this to work last year.

In one case, I created a simple numeric display of the first variable. Then, in the second case, I created a local variable (Programming -> Structures> Local Variable) that referenced the numberic display in the other case. I've attached a picture of what I did.

I also used the concepts from this example VI for displaying multiple items on a graph: http://www.chiefdelphi.com/forums/sh...ad.php?t=45210

I hope this helps.

b_mallerd 09-02-2007 20:37

Re: Pull data out of Case Statement
 
Thank you for the suggestion of using local variables. It's working for me, thanks!


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

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