From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A limit to reentrant instances executed using VI server and asynchronous call?

Solved!
Go to solution

I have an application that attempts to launch many reentrant preallocated clones using VI server and the start asynchronous call function. I am finding that there seems to be an upper limit on the amount of clones that can be run using this method. The first 26 seem to run, and then beyond that additional clones are spawned but they seem to just sit there not executing. I confirmed this behavior by having them all launch front panels on execution.

 

Is there something I am missing here?

0 Kudos
Message 1 of 2
(2,913 Views)
Solution
Accepted by topic author parsec43

You're using the 0x40 option improperly.   That creates a pool of clones and is intended to created only once (I've run up to 10000 clones with one reference using 0x40).  If you want one clone per reference, then just use 0x80.

Message 2 of 2
(2,863 Views)