LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I run several same subvis in parralel?

Solved!
Go to solution

Hi everyone,

 

I am calling the same sub-vi several times in the same loop at the same time in a program. I would like them to run in parallel (not waiting for the first use to end before starting the second one). I know there is somewhere in Labview where I can change this by just ticking/unticking this option.

 

Would anybody know where I can set this parameter?

 

Thanks,

 

User

0 Kudos
Message 1 of 5
(2,553 Views)
Solution
Accepted by User_1979

Hi,


That was funny that you mentioned remembering the ticking and unticking part. Go to the SubVIs  VI properties by right clicking the VI icon on the upper right side of the window, select execution for drop down list, and tick on reentrant execution. There you go..:) This will create clones of your SubVI everytime you use it. This uses more memory. Keep this in mind.

Regards,

Nitzz

(Give Kudos to Good Answers and Mark it as a solution if your problem is Solved;)) 

Message 2 of 5
(2,551 Views)

Hi NitzZ,

 

Thanks for your help and advice. Would you mind confirming the settings in the attached file?

 

Regards,

 

User

0 Kudos
Message 3 of 5
(2,532 Views)

Hi User_1979,

 

Yeah, Thats right what you are doing.:)

 

A small suggestion about your posts if you don't mind. Try to upload png images instead of word files and .jpeg images as they are huge in size.:) 

Regards,

Nitzz

(Kudos are always Welcome;)) 

0 Kudos
Message 4 of 5
(2,523 Views)

Ok great. Thanks a lot.

 

Regards,

 

User

 

 

0 Kudos
Message 5 of 5
(2,518 Views)