LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

running two sub vis in parallel

I need to run two sub vis of a main vi simultaneously in parallel.

one sub vi is to run a demo and the other subvi is an application.The demo should run as a small window and the application should run in background

0 Kudos
Message 1 of 9
(3,728 Views)

Simply make sure they are called in parallel and that there is no data dependency between the two subVIs and they will run in parallel.

 

Still, you really don't give enough information for a unique answer. E.g. should the main VI wait until both are finished? Can you give a bit more detail?

Message 2 of 9
(3,724 Views)

You can also set the demo vi as "floating", if you want it to be always on top. Go to "VI properties>>Window Appearence>>Customize".

Else you can use the proterty node "Front Panel window: Is Frontmost"

Message 3 of 9
(3,717 Views)

It did not work for some sub vi front panels and the demo went to the background

How to set the other sub vis to run in background?

 

0 Kudos
Message 4 of 9
(3,708 Views)

What exactly din't work ?

If you have the demo vi as floating and the other vi as Default (not floating), the demo vi will allways stay on top

Message 5 of 9
(3,688 Views)

You really need to tell us what you mean by your terminology. For example what do you mean by "Run in Background"????

 

  • Should it run without the front panel visible?
  • Should it run with the front panel minimized?
  • Should it run with the front panel behind the other front panels?

 

Please exaplin exactly how the subVIs should run. So far, your description is insufficient to give an answer.

Message 6 of 9
(3,675 Views)

My requirement is to run the demo as a small window  on the screen while the application vi should run.

the problem is that the application vi has a lot of other sub vis performing other tasks and it has to be set as modal,

0 Kudos
Message 7 of 9
(3,632 Views)
The third option satisfies my requirement,,,,,but how?
Message Edited by siju on 04-20-2009 09:06 AM
0 Kudos
Message 8 of 9
(3,630 Views)

As i said

"If you have the demo vi as floating and the other vi as Default (not floating), the demo vi will allways stay on top"

 

If you still have problems, just post your vis, (without any unnecessary code), or ask something specific
Message Edited by Pnt on 04-21-2009 08:18 PM
0 Kudos
Message 9 of 9
(3,602 Views)