03-30-2010 07:21 PM
Hello, I was wondering if anyone knows of how or if there is a subvi so you can toggle between what data will come up on a waveform chart while the program is running. I have three forces coming into waveform chart vs. time. I can view them all on the graph in real-time, but I was wondering if it's possible to switch between just Fx vs. time, just Fy vs. time, or all forces vs. time, etc.
Any help would be much appreciated.
Thanks!
Solved! Go to Solution.
03-30-2010 07:32 PM
I would suggest that you could use a control to select whitch plots to make active (Property node> Active Plot) and whitch plots to make visable (Property node. Plot.Visable)
And use a nice event structure to determine what to show the user.
03-30-2010 07:58 PM
Thanks for the response.
But we haven't learned in class how to use event structures really. Do you know of any good example vi's that could tie my problem together. Or would it be possible to whip up a quick vi that i could see.
Thanks again.
03-30-2010 08:08 PM - edited 03-30-2010 08:09 PM
Labviewpadawan wrote:Thanks for the response.
But we haven't learned in class,..... how to use event structures really. Do you know of any good example vi's
Thanks again.
That's Great- You can get ahead of your class by looking at the examples finder for event structures. Also, Read the help section "Caveats when using events"
The properties I mentioned earlier will show/hide any plot you chose on any graph. The event structure seems, to me, to be ideal for calling these nodes since the user gets to select what and when. Sometimes its better to think for the user and just show whats realistic. If you need any help with wiring an example after looking at the help and examples post what you have so far and you'll likely get some great tips and pointers. For students though.... Well, we'll look and offer advice that'll get you any grade you want but, we won't do it for you.
03-31-2010 10:43 AM
There is also a very simple example on our community page. You can find it here.
As for event structures, Jeff is right, there are some great examples in the LabVIEW example finder.