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

Memory Considerations when Using Local Variables

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Local variables make copies of data buffers. When you read from a local variable, you create a new buffer for the data from its associated control.

If you use local variables to transfer large amounts of data from one place on the block diagram to another, you generally use more memory and, consequently, have slower execution speed than if you transfer data using a wire. If you need to store data during execution, consider using a shift register.


Resources


 

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