LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-vi pop-up as dialog

Hello All

 

The attached image of the code of a vi shows a sub-vi (attached and called MovieDialog) inside a case structure true frame. The case structure also contains some code to initiate a player to play a short movie.

 

The purpose of the sub-vi is to pop-up when the data flow enters the true case and display a short message to the viewer. The pop-up is to remain on screen for 4 seconds, and then close.

 

This is where I'm having trouble. I have coded some basic vi's to test the operation (placed the sub-vi in a while loop and run it with the sub-vi properties set to open when called etc.) and using a time delay, but it doesn't perform the way intended.

 

So my question....how can I have the sub-vi (dialog) open up on the main vi FP for four seconds and then disappear (even close the sub-vi) without interreupting the main vi operation.

 

Any assistance is greatfully accepted.

 

Thanks in advance

 

Ray

 

Download All
0 Kudos
Message 1 of 4
(3,170 Views)

Maybe something like this. .

0 Kudos
Message 2 of 4
(3,158 Views)

Hello Jean-Marc

Thank you for your interest.

 

I've had a look at your vi, and yes it looks like it is what I'm after.

 

I can get the vi to operate on its own, but haven't managed to get it successfully working when I modify and inseert into my larger code. It's just a matter of time though.

 

When I have it working, I will update the post.

 

Regards

Ray

0 Kudos
Message 3 of 4
(3,127 Views)

Get an answer yet?  I just coincidently ended up here.... 

 

If not checkout implementing/incorporating "Autoit" for controlling non-Labview windows from labview...pretty cool.  I use it to control several non-labview windows all at the same time from a standalone, labview developed executable.  If you need more info, please advise.

Shannon F
0 Kudos
Message 4 of 4
(2,971 Views)