VI class/Populate Asynchronous Call Pool method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 4A2
Scope Basic Development Environment
Data Name Populate Async Call Pool
Short Name* Populate Async Call Pool
Long Name* Populate Asynchronous Call Pool
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Return Data Type No return value
Invoke Node Populate Asynchronous Call Pool
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Available with control VIsNo
Available with global VIsNo
Available with polymorphic VIsNo
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Must wait until user interface is idleNo
Need to authenticate before useNo
Remote access allowedNo
Settable when the VI is runningYes

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

Data type Name Required Description
I32 Current Size Yes Current Size returns the current number of data spaces in the asynchronous call pool for the referenced VI.
I32 Minimum Size 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.

Uses

History

Version Change(s)
LabVIEW 2011 This method was added in LabVIEW 2011.

See Also

External Links