LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clonning VI's

Hi,

 

I have a Main VI in that I created a clone VI with multiple instances. and when I run the main VI the clone VI's are executing one after the other sequentially rather than in parallel, I am using some sub vi's that are not clones in the clone VI. Does this make any difference? what should I do to make the clones run in parallel.

 

Thanks,

 

Mudda.

0 Kudos
Message 1 of 3
(2,367 Views)

Are your VI's reentrant?

 

How did you open and run the clones?  If you used Open VI reference, did you use option 8?

0 Kudos
Message 2 of 3
(2,364 Views)

Hi, in terms of execution a regular subvi do not allow true parallel execution. Reentrant VIs preallocate clones for each instance in memory to allow this resulting in faster execution times, but they require greater memory use. Depending on your application, you can use this example to achieve parallel execution or you can apply one design pattern like Master/Slave or Producer/Consumer.

Alejandro C. | National Instruments
0 Kudos
Message 3 of 3
(2,323 Views)