ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running two vis simultaneously

I have designed two different vis and I want to run these vis simultaneously in a parental mode. Is it possible?

0 Kudos
Message 1 of 6
(1,902 Views)

@asif3047 wrote:

I want to run these vis simultaneously in a parental mode. Is it possible?


What is a parental mode?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,894 Views)

It's easy to run multiple VIs simultaneously (have you worked through the LabVIEW training materials?);  but I have no idea what a "parental mode" is.  Give more details about what you're trying to accomplish, and you will get more detailed answers.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 6
(1,892 Views)

Yes (generally), maybe (depends on the VIs). Post code for specifics.

 

Also, your VIs not might like it but strong discipline is important for a good outcome when raising new VIs. Otherwise, they will run the parent.

Message 4 of 6
(1,861 Views)

If you just want to run both VIs at the same time, put them in a VI.

Certified LabVIEW Architect
0 Kudos
Message 5 of 6
(1,812 Views)

@thols wrote:

If you just want to run both VIs at the same time, put them in a VI.


  1. Put both subVIs on the block diagram of the top level VI/
  2. Make sure that all inputs are valid before either VI is called.
  3. Make sure nothing constrains the execution order.
"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 6 of 6
(1,805 Views)