Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

New Project-Level Code Generation Options (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

You now can allocate constants for arrays, clusters, strings, variants, and waveforms with build options on the Application Information page in the Build Specification Properties dialog box.

Using stack variables overrides constant allocation. If you place a checkmark in the Use stack variables checkbox, Allocate constants is always First Use and Deallocate constants is always Out of Scope. First Use and Out of Scope was the default behavior in previous versions.

  • Allocate constants—Specifies when LabVIEW allocates memory for constants.
    • First Use—Allocates memory the first time you use constants on the block diagram.
    • Containing Loop—Allocates memory outside of the loop that contains constants.
    • VI Initialization—Allocates memory when the VI that contains the constants is called.
    • Application Initialization—Allocates memory when the built application begins running on the target.
  • Deallocate constants—Specifies when LabVIEW frees memory resources for constants.
    • Out of Scope—Frees memory resources when the constants are no longer used.
    • VI End—Frees memory resources when a VI containing constants finishes executing.
    • Application End—Frees memory resources when the built application finishes executing on the target.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit