![]() | Download Help (Windows Only) |
Owning Class: support
Requires: MathScript RT Module
global a
global a b ... c
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.
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 (![]() |
Yes |
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | No |
Helpful
Not Helpful