Application class/Clear Compiled Object Cache method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 95B
Scope Basic Development Environment
Data Name ClearCompObjCache
Short Name* ClearCompObjCache
Long Name* Clear Compiled Object Cache
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 1
Owning Class Name Application Class
Return Data Type No return value
Invoke Node Clear Compiled Object Cache
Available in Real-Time Operating SystemNo
Available in Run-Time EngineNo
Remote access allowedYes

Deletes all compiled code in the User object cache.

The User object cache contains the compiled code for the following kinds of files:

This method is similar to selecting User from the Cache list in the Clear Compiled Object Cache dialog box and clicking the Delete button.

Note This method does not clear the Application Builder object cache. Use the Clear Application Builder Cache method to clear the Application Builder object cache programmatically.


This method has no parameters.



Version Change(s)
LabVIEW 2011 In LabVIEW 2010, the Clear Compiled Object Cache method clears the object cache associated with a specific target. In LabVIEW 2011, the Clear Compiled Object Cache method clears the entire user cache for the running version of LabVIEW. Therefore, although VIs created in LabVIEW 2010 that contain the Clear Compiled Object Cache method do not break in LabVIEW 2011, they delete more VI object files than they did previously, which causes the associated VIs to recompile when loaded.
LabVIEW 2010 This method was added in LabVIEW 2010.

See Also

External Links