Ensures that the asynchronous call pool for a VI reference contains at least the number of data spaces specified by the Minimum Size parameter. By default, when you open a reference with the Open VI Reference function, LabVIEW allocates one data space per CPU core on the development computer.

Use this method to ensure deterministic execution of asynchronous VI calls. Set the Minimum Size of the call pool to the maximum number of calls that you expect to make to the referenced VI. This prevents LabVIEW from needing to allocate data spaces in the asynchronous call pool on demand, thereby avoiding the jitter of memory allocation.

You cannot decrease the size of the asynchronous call pool. Use the Current Size output of this method to identify the current number of data spaces allocated for the referenced VI.

LabVIEW deallocates the call pool when it closes the corresponding VI reference.

Parameters

Name Data type Required Description
Current Size ii32.png Yes

Current Size returns the current number of data spaces in the asynchronous call pool for the referenced VI.

Minimum Size ci32.png No

Minimum Size determines the number of data spaces that the asynchronous call pool of the referenced VI is required to have. If you wire a number to this input that is smaller than the Current Size of the asynchronous call pool, the size of the call pool remains unchanged.

Remarks

The following table lists the characteristics of this method.

Short Name Populate Async Call Pool
Data type No return value
Available in Run-Time Engine Yes
Available in Real-Time Operating System Yes
Settable when the VI is running Yes
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed No
Must wait until user interface is idle No
Available with control VIs No
Available with global VIs No
Available with strict type definitions No
Available with polymorphic VIs No

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\Application Control\VI Server\Asynchronous Call By Reference\Populating the Asynchronous Call Pool.vi