10-29-2013 07:22 PM
Hi,
We are the team that doing NI supported spirometer.
1. Is there any example on show children windows?
structure:, startup VI contains 3 button for user to choose which child VI to open, and hide itself if child VI shows up( or show up if child VI closed).
StartUp VI
Education VI
Diagnostic VI
Incentive VI
2. After myDAQ gets data(real time plotting), is it possible to start analysis data (show slide bar) in same VI?
Trying to use a slide bar with two ticks to select partial of plot.
Could anyone give an example?
Thanks
Tonghua
Solved! Go to Solution.
10-30-2013 02:43 AM
On the sub-vi, set Show when called, and use Invoke nodes on the main vi to minimize/reopen that window.
/Y
10-30-2013 03:17 PM
Sorry, we are not allowed to use 3rd party toolkit.
10-30-2013 03:24 PM
@Tonghua wrote:
Sorry, we are not allowed to use 3rd party toolkit.
What does that have to do with the original question or the reply?
10-30-2013 03:47 PM - edited 10-30-2013 04:04 PM
oh, my problem, I thought the link is solution.
I see, Thanks
Now the problem is how to bring main VI back when sub VI is closed.
10-30-2013 04:31 PM
Have the parent pass its reference (Class Vi Server Vi Vi) to the child.
Use a P-Node in the Child to write property Frontpanel Windows.Behavior as it opens and closes.
11-01-2013 12:17 PM
11-01-2013 01:29 PM - last edited on 11-01-2013 02:41 PM by JordanG
@Tonghua wrote:
This example could open SubVI and return, but once click open again, it freeze. how to solve this?
https://decibel.ni.com/content/docs/DOC-10832
You are correct. There a a few problems with that example.
Here it is cleaned up a little. Ask if there are things that do not make sense.
11-01-2013 02:25 PM
Hi, Jeff
I downloaded your attachment, but it seems the same as original one, which freeze after try to reopen subVI.
Tell me I am wrong.
11-01-2013 02:38 PM - edited 11-01-2013 02:41 PM
@Tonghua wrote:
Hi, @JÞB
I downloaded your attachment, but it seems the same as original one, which freeze after try to reopen subVI.
Tell me I am wrong.
D'Oh Try this instead.
Jordan - could you possibly replace the attachment in my previous post with the correct attachment in this one? If we can't, the link from the community site will just confuse the bejeebbers out of everyone. My idiocy shouldn't ruin everyones day- just yours and mine