LabVIEWAdapter.ClearBuildAndExecuteCache
- Updated2024-10-09
- 1 minute(s) read
LabVIEWAdapter.ClearBuildAndExecuteCache
Syntax
LabVIEWAdapter.ClearBuildAndExecuteCache( clearAllFiles, sequenceFile)
Purpose
Clears the 'Build Source Files and Execute' cache. The cache maintains data per sequence file. This method will either clear the entire cache or the data for the sequence file specified in the sequenceFile parameter.
Remarks
If the data for a sequence file is cleared from the cache, the next execution of the file will force a fresh build of the Packed Project Libraries (PPLs) containing all the VIs called from that sequence file.
Use this method to recover from/reset errors or force a rebuild of the PPLs for a sequence file. Forcing a rebuild would remove any VIs called from steps that were skipped/deleted from the sequence file, in the generated PPL.
Parameters
clearAllFiles As Boolean
[In] Passing true clears the cache for all sequence files that were previously executed. If false, then the cache is cleared only for the sequence file specified in the sequenceFile parameter.
sequenceFile As SequenceFile
[In] Reference to the sequence file for which the entry in the cache should be cleared.