Jump to content

Application class/Clear Compiled Object Cache method: Difference between revisions

From LabVIEW Wiki
Added new method page.
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 26: Line 26:
{| class="wikitable"  
{| class="wikitable"  
|-
|-
| '''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.
| '''Note'''  This method does not clear the '''Application Builder''' object cache. Use the [[Application class/Clear Application Builder Cache method|Clear Application Builder Cache method]] to clear the '''Application Builder''' object cache programmatically.
|}
|}
==Parameters==
==Parameters==
Line 35: Line 35:


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
{| class="wikitable"
! Version
! Version
! Change(s)
! Change(s)
|-
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 2011|link=LabVIEW 2011]]
|More info to come.
| 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 [[VI]]s 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 [[VI]]s to recompile when loaded.
|-
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 2010|link=LabVIEW 2010]]
| This method was added in [[LabVIEW 2010]].
|}
|}
== See Also ==
== See Also ==
{{ambox|text=Add links to internal wiki pages that would also help.}}
{{ambox|text=Add links to internal wiki pages that would also help.}}
Line 49: Line 52:
{{ambox|text=Add links to external resources that would also help.}}
{{ambox|text=Add links to external resources that would also help.}}


[[Category:Method]] [[Category:VI Server Method]]
[[Category:VI Server Method]]

Latest revision as of 19:55, 10 June 2020

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.

Parameters

This method has no parameters.

Uses

History

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