04-18-2009 12:51 AM
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
04-18-2009 01:05 AM
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?
04-18-2009 01:43 AM
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"
04-18-2009 03:03 AM
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?
04-18-2009 09:33 AM
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
04-18-2009 11:52 AM
You really need to tell us what you mean by your terminology. For example what do you mean by "Run in Background"????
Please exaplin exactly how the subVIs should run. So far, your description is insufficient to give an answer.
04-20-2009 09:04 AM
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,
04-20-2009 09:05 AM - edited 04-20-2009 09:06 AM
04-21-2009 12:14 PM - edited 04-21-2009 12:18 PM
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"