LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show children windows

Solved!
Go to solution

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

 

0 Kudos
Message 1 of 15
(3,464 Views)

On the sub-vi, set Show when called, and use Invoke nodes on the main vi to minimize/reopen that window.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 15
(3,441 Views)

Sorry, we are not allowed to use 3rd party toolkit.

0 Kudos
Message 3 of 15
(3,410 Views)

@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?
0 Kudos
Message 4 of 15
(3,408 Views)

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.

0 Kudos
Message 5 of 15
(3,402 Views)

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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 15
(3,393 Views)
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
0 Kudos
Message 7 of 15
(3,358 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 15
(3,348 Views)

Hi, 

 

I downloaded your attachment, but it seems the same as original one, which freeze after try to reopen subVI.

Tell me I am wrong.

0 Kudos
Message 9 of 15
(3,341 Views)
Solution
Accepted by topic author Tonghua

@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 mineSmiley Very Happy

 

Spoiler
Must be a Friday URGH! Can't I even spell?  I must be chanelling Ben

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 15
(3,337 Views)