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

persistent (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

persistent a

persistent a b ... c

Description

Defines variables as persistent. Persistent variables are local to the function in which you use them but retain their original values for future calls. The first time you define a variable as persistent, LabVIEW initializes the variable to an empty matrix.

Details

Details

If you call this function from a MathScript Node, LabVIEW operates with slower run-time performance for the MathScript Node. To optimize the performance of the MathScript Node, remove this function from scripts.

Related Topics

clear
global


Resources


 

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