Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

global (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: support

Requires: MathScript RT Module

Syntax

global a

global a b ... c

Description

Generates global variables or defines existing variables as global. If a variable does not exist, LabVIEW generates an empty matrix for that global. Use the global function to access and pass data between the LabVIEW MathScript Window and a MathScript Node or between two MathScript Nodes. The global function generates global variables in a separate context than the global variables in LabVIEW. For example, if you use the global function to generate the global variable a in MathScript, you also can create a different global variable a in LabVIEW.

Details

Details

Changes that you make to global variables with this function apply to all MathScript Nodes in the same application instance as the LabVIEW MathScript Window.

The following table lists the support characteristics of this function.

Causes reduced performance (warning glyph) Yes
Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets No

Related Topics

clear
is_global
persistent
who


 

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