03-14-2008 05:12 PM
Solved! Go to Solution.
03-14-2008 05:14 PM
03-15-2008 11:26 AM - edited 03-15-2008 11:32 AM
08-07-2008 07:30 AM
08-11-2008 10:49 AM
02-04-2009 01:25 PM
Hello, Can someone explain a few things to me?
In part one were directed to "select vi server class -> generic -> gobject-> control-> wavegraph-> wavegraph". I don't have the following menu options at "...wavegraph->wavegraph". I have selections at that point for either "...Waveform Data" or "...GraphChart->waveform chart" or "...Graphchart->waveform graph -> wafeform Graph"
Which one is the intended target (I've tried them all.)?
Part 6 tells us to create a "VI server reference" is this reference to be created in the sub VI or the VI calling the sub VI?
Part 7 says ""Connected the "VI Server Reference" to the "property node" of my sub vi icon. "" Where does the VI server reference connect on the property node? If I understand correctly I'm attaching the waveform data to the value in on the property node. I should also have the waveform control refnum attached to the property node refnum in connection (unless I'm mistaken - Note: It won't hook up to the property nodes refnum out connection).
All I want to do is use data from a sub vi in a VI so that I can display a graph (waveform). I use labview 8.2. Thanks - Matt
02-04-2009 02:51 PM
goatdemon wrote:... All I want to do is use data from a sub vi in a VI so that I can display a graph (waveform). I use labview 8.2. Thanks - Matt
Are you familiar with sub-vi's?
Say your data is an array of DBL's. Make an indicator of this array on your front panel.
You can go to the front panel of the subVI, then right click the icon in the corner and select "show connector".
Click on one of the empty boxes on the right hand side, then click on your indicator.
Now when you use this subVI in another VI, the data from your array can be retrieved from the output terminal of that subVI.
Is this what you were talking about?
02-04-2009 04:22 PM
Thanks, that's more like what I wanted to do.
I've replaced the waveform graph in my sub VI with an array of doubles. I then hooked that array indicator up to a connector terminal. I assume that I am to connect the new sub VI terminal up to a waveform Graph in my VI, but when I do this I see nothing. I've also tried to use an array to see if any data is coming in, but it isn't. What am I doing wrong?
Thanks -Matt
02-04-2009 10:31 PM
02-05-2009 10:29 AM - edited 02-05-2009 10:29 AM
When you run the subVI by itself as a regular VI, is any data shown in the array?
If so, could you please show us your VI and subVI so we can see where the problem is?