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

MemoryModel Code Generation Attribute (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

Type: Integer (0 = dynamic, 1 = static)

Default: 0

Defines whether you are using a dynamic or static memory model.

  • Dynamic—Memory is allocated and then freed as soon as possible, which keeps the memory use at any one time to a minimum. Memory management overhead might result in some jitter and reduced performance, but applications with a dynamic memory model have the smallest footprint possible.
  • Static—No memory allocation occurs while the application is running. All variables are declared as static in the generated C code and allocated prior to the main entry point. Static memory can provide good performance and low jitter, but static memory models might require more memory than other memory models.

Resources


 

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